exporter-go-mystrom/.github/workflows/release.yml

47 lines
1.2 KiB
YAML
Raw Normal View History

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
2021-11-15 16:02:40 +01:00
- uses: wangyoucao577/go-release-action@v1.21
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
2021-11-15 16:02:40 +01:00
- uses: wangyoucao577/go-release-action@v1.21
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
2021-11-15 16:02:40 +01:00
- uses: wangyoucao577/go-release-action@v1.21
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
2021-11-15 16:02:40 +01:00
- uses: wangyoucao577/go-release-action@v1.21
2021-11-12 14:00:26 +01:00
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: darwin
goarch: amd64