Release #84
This file contains hidden or 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: | |
| workflow_dispatch: | |
| concurrency: | |
| group: release | |
| cancel-in-progress: false | |
| permissions: | |
| contents: read | |
| jobs: | |
| release: | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 15 | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - uses: CompeyDev/setup-rokit@v0.2.1 | |
| - uses: actions/setup-node@v7.0.0 | |
| with: | |
| node-version: 22 | |
| cache: npm | |
| - run: npm ci | |
| # The release gate is the merge gate. Nothing ships that would not merge. | |
| - run: lune run scripts/run.luau verify | |
| - run: lune run scripts/run.luau check | |
| # wally.toml is the one home of the version; every other file is a copy | |
| # the versions check already holds to it. | |
| - id: version | |
| run: echo "value=$(grep -m1 '^version' wally.toml | sed -E 's/.*\"(.*)\".*/\1/')" >> "$GITHUB_OUTPUT" | |
| - run: lune run scripts/run.luau build | |
| - run: lune run scripts/run.luau test | |
| - run: lune run scripts/run.luau bench | |
| - run: lune run scripts/run.luau dist | |
| # What was verified, kept so a published package can be held against it. Publishing | |
| # happens from a machine somebody is signed in on rather than from here. | |
| - uses: actions/upload-artifact@v7.0.1 | |
| with: | |
| name: dist | |
| path: dist/ | |
| retention-days: 7 | |
| if-no-files-found: error | |
| # The names a person downloads, which the readme names and every release before this used. | |
| # The build names say which project made them, and say nothing to whoever is fetching one. | |
| - run: | | |
| mv build/default.rbxm build/Lync.rbxm | |
| mv build/test.rbxl build/Lync-dev.rbxl | |
| mv build/bench.rbxl build/Lync-bench.rbxl | |
| - uses: softprops/action-gh-release@v3.0.0 | |
| with: | |
| tag_name: v${{ steps.version.outputs.value }} | |
| generate_release_notes: true | |
| fail_on_unmatched_files: true | |
| body: Cut against ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} | |
| files: | | |
| build/Lync.rbxm | |
| build/Lync-dev.rbxl | |
| build/Lync-bench.rbxl |