2021-11-12 13:49:38 +01:00
|
|
|
# .github/workflows/release.yaml
|
|
|
|
|
2021-11-12 14:00:26 +01:00
|
|
|
on:
|
|
|
|
release:
|
|
|
|
types: [created]
|
|
|
|
|
2021-11-12 13:49:38 +01:00
|
|
|
jobs:
|
|
|
|
release-linux-amd64:
|
|
|
|
name: release linux/amd64
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2021-11-12 14:00:26 +01:00
|
|
|
- uses: actions/checkout@v2
|
2022-01-14 15:41:33 +01:00
|
|
|
- uses: wangyoucao577/go-release-action@v1.22
|
2021-11-12 14:00:26 +01:00
|
|
|
with:
|
|
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
goos: linux
|
|
|
|
goarch: amd64
|
|
|
|
release-linux-arm64:
|
|
|
|
name: release linux/arm64
|
2021-11-12 13:49:38 +01:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2021-11-12 14:00:26 +01:00
|
|
|
- uses: actions/checkout@v2
|
2022-01-14 15:41:33 +01:00
|
|
|
- uses: wangyoucao577/go-release-action@v1.22
|
2021-11-12 14:00:26 +01:00
|
|
|
with:
|
|
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
goos: linux
|
|
|
|
goarch: arm64
|
|
|
|
release-linux-arm:
|
|
|
|
name: release linux/arm
|
2021-11-12 13:49:38 +01:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2021-11-12 14:00:26 +01:00
|
|
|
- uses: actions/checkout@v2
|
2022-01-14 15:41:33 +01:00
|
|
|
- uses: wangyoucao577/go-release-action@v1.22
|
2021-11-12 14:00:26 +01:00
|
|
|
with:
|
|
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
goos: linux
|
|
|
|
goarch: arm
|
2021-11-12 13:49:38 +01:00
|
|
|
release-darwin-amd64:
|
|
|
|
name: release darwin/amd64
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2021-11-12 14:00:26 +01:00
|
|
|
- uses: actions/checkout@v2
|
2022-01-14 15:41:33 +01:00
|
|
|
- uses: wangyoucao577/go-release-action@v1.22
|
2021-11-12 14:00:26 +01:00
|
|
|
with:
|
|
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
goos: darwin
|
|
|
|
goarch: amd64
|