exporter-go-mystrom/.github/workflows/release.yml
2021-11-15 16:02:40 +01:00

47 lines
No EOL
1.2 KiB
YAML

# .github/workflows/release.yaml
on:
release:
types: [created]
jobs:
release-linux-amd64:
name: release linux/amd64
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: wangyoucao577/go-release-action@v1.21
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: linux
goarch: amd64
release-linux-arm64:
name: release linux/arm64
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: wangyoucao577/go-release-action@v1.21
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: linux
goarch: arm64
release-linux-arm:
name: release linux/arm
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: wangyoucao577/go-release-action@v1.21
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: linux
goarch: arm
release-darwin-amd64:
name: release darwin/amd64
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: wangyoucao577/go-release-action@v1.21
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: darwin
goarch: amd64