name: release on: release: types: [published] permissions: contents: write env: GH_TOKEN: ${{ github.token }} jobs: build: runs-on: ubuntu-latest steps: - name: checkout uses: actions/checkout@v4 with: fetch-depth: 0 - name: setup rokit uses: CompeyDev/setup-rokit@v0.1.2 - name: build run: rojo build default.project.json -o build.rbxm - name: release run: gh release upload ${{github.event.release.tag_name}} build.rbxm