stop trying to do golang-based cross-platform builds. #16
Workflow file for this run
This file contains 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 binary for all platforms | |
on: | |
push: | |
tags: | |
- '*' | |
permissions: | |
contents: write | |
jobs: | |
make-release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/create-release@latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
tag_name: ${{ github.ref }} | |
release_name: ${{ github.ref }} | |
build-linux: | |
runs-on: ubuntu-latest | |
needs: | |
- make-release | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: wangyoucao577/go-release-action@v1.40 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
overwrite: true | |
md5sum: false | |
sha256sum: false | |
compress_assets: false | |
build-mac: | |
runs-on: darwin-latest | |
needs: | |
- make-release | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: wangyoucao577/go-release-action@v1.40 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
overwrite: true | |
md5sum: false | |
sha256sum: false | |
compress_assets: false | |
build-windows: | |
runs-on: windows-latest | |
needs: | |
- make-release | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: wangyoucao577/go-release-action@v1.40 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
overwrite: true | |
md5sum: false | |
sha256sum: false | |
compress_assets: false |