Set version to 2.0.0 #5
Workflow file for this run
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: Build Release Binaries | |
| on: | |
| push: | |
| tags: | |
| - '*' | |
| workflow_dispatch: | |
| defaults: | |
| run: | |
| shell: bash -euxo pipefail {0} | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: mlugg/setup-zig@d1434d08867e3ee9daa34448df10607b98908d29 # v2 tag | |
| with: | |
| version: 0.15.2 | |
| # I only want to disable the build cache, but don't see a good way to do | |
| # that besides disabling all of the caching | |
| use-cache: false | |
| - name: Build | |
| run: | | |
| zig build release | |
| - name: Upload Release Artifacts | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} | |
| TAG: ${{ github.ref_name }} | |
| run: | | |
| ( | |
| cd zig-out/bin/ | |
| gh release create \ | |
| "${TAG}" \ | |
| --title "${TAG}" \ | |
| * | |
| ) |