Skip to content

Commit

Permalink
Merge pull request #6 from jhoblitt/feature/release-gha
Browse files Browse the repository at this point in the history
add go-release-binaries action
  • Loading branch information
jhoblitt authored Jun 5, 2023
2 parents b1e0084 + b35ecb4 commit f1c00f1
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
name: Go Release Binaries

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
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@v3
- uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: linux
goarch: arm64

0 comments on commit f1c00f1

Please sign in to comment.