Skip to content

stop trying to do golang-based cross-platform builds. #16

stop trying to do golang-based cross-platform builds.

stop trying to do golang-based cross-platform builds. #16

Workflow file for this run

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