fix go version #23
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: | |
| - '*' | |
| jobs: | |
| release-linux: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| - name: Unshallow | |
| run: git fetch --prune --unshallow | |
| - name: Set up Go | |
| uses: actions/setup-go@v1 | |
| with: | |
| go-version: 1.24.x | |
| - name: Install cross-compiler for linux/arm64 | |
| run: sudo apt-get -y install gcc-aarch64-linux-gnu | |
| - name: Run GoReleaser | |
| uses: goreleaser/goreleaser-action@v3.1.0 | |
| with: | |
| version: latest | |
| args: release --config .goreleaser-linux.yaml --rm-dist | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| release-darwin: | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| - name: Unshallow | |
| run: git fetch --prune --unshallow | |
| - name: Set up Go | |
| uses: actions/setup-go@v1 | |
| with: | |
| go-version: 1.24.x | |
| - name: Run GoReleaser | |
| uses: goreleaser/goreleaser-action@v3.1.0 | |
| with: | |
| version: latest | |
| args: release --config .goreleaser-darwin.yaml --rm-dist | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |