added building of binary on release

This commit is contained in:
BroodjeAap 2022-12-17 13:31:44 +00:00
parent fb3256d1fd
commit 36043f96ed
4 changed files with 68 additions and 0 deletions

17
.github/workflows/amd64-release.yml vendored Normal file
View file

@ -0,0 +1,17 @@
name: ghcr-push
on:
release:
types: [created]
jobs:
release-linux-amd64:
name: release linux/amd64
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: wangyoucao577/go-release-action@v1.34
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: linux
goarch: amd64

17
.github/workflows/arm-release.yml vendored Normal file
View file

@ -0,0 +1,17 @@
name: ghcr-push
on:
release:
types: [created]
jobs:
release-linux-arm:
name: release linux/arm
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: wangyoucao577/go-release-action@v1.34
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: linux
goarch: arm

17
.github/workflows/arm64-release.yml vendored Normal file
View file

@ -0,0 +1,17 @@
name: ghcr-push
on:
release:
types: [created]
jobs:
release-linux-arm64:
name: release linux/arm64
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: wangyoucao577/go-release-action@v1.34
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: linux
goarch: arm64

17
.github/workflows/windows-release.yml vendored Normal file
View file

@ -0,0 +1,17 @@
name: ghcr-push
on:
release:
types: [created]
jobs:
release-linux-windows:
name: release windows
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: wangyoucao577/go-release-action@v1.34
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: windows
goarch: amd64