Release v2.3.0 #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
tags: ["v*"] | |
jobs: | |
create-release: | |
name: "Create Release" | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Create Release | |
run: gh release create ${{ github.ref_name }} --draft --verify-tag --title ${{ github.ref_name }} --notes ${{ github.ref_name }} | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
build-files: | |
needs: ["create-release"] | |
name: "Build files" | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: setup-aftman | |
uses: ok-nick/[email protected] | |
with: | |
version: v0.3.0 | |
- name: Build files | |
run: | | |
rojo build -o Iris.rbxm ./default.project.json | |
rojo build -o Iris.rbxl ./demo.project.json | |
zip -r Iris.zip lib | |
- name: Upload files | |
run: | | |
gh release upload ${{ github.ref_name }} ./Iris.rbxm ./Iris.rbxl ./Iris.zip | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |