Merge pull request #7 from rabarbra/fixes #30
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: Release | |
| on: | |
| push: | |
| tags: ['v*'] | |
| permissions: | |
| contents: write # required to upload release assets | |
| jobs: | |
| release: | |
| name: build + publish | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: stable | |
| cache: true | |
| # Cross-compile full + lite archives for every platform via the Makefile. | |
| - name: Build release archives | |
| run: make release VERSION="${GITHUB_REF_NAME}" | |
| # Record this release's performance (all views, startup, memory) in the run | |
| # summary, measured against the native build of exex itself. | |
| - name: Performance report | |
| run: make perf-report | |
| - uses: softprops/action-gh-release@v2 | |
| with: | |
| files: dist/* | |
| generate_release_notes: true | |
| fail_on_unmatched_files: true | |
| body_path: .github/release.md |