Skip to content

Commit

Permalink
Merge pull request #12 from jehiah/release_workflow_12
Browse files Browse the repository at this point in the history
github action for building release builds
  • Loading branch information
jehiah authored Feb 14, 2024
2 parents f5c75b0 + 352dffc commit 96f1206
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
on:
release:
types: [created]

permissions:
contents: write
packages: write

jobs:
release-go-binary:
name: release Go Binary
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux]
goarch: [amd64]
steps:
- uses: actions/checkout@v4
- uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
goversion: 1.21
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
test:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
timeout-minutes: 20
strategy:
fail-fast: false
Expand Down

0 comments on commit 96f1206

Please sign in to comment.