Skip to content

Commit

Permalink
Merge pull request #9 from m-mizutani/workflow/add-release
Browse files Browse the repository at this point in the history
Add release workflow
  • Loading branch information
m-mizutani authored Jun 13, 2024
2 parents 56f5ed3 + 6abab45 commit c7c13cb
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/reelase.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
on:
release:
types: [created]

permissions:
contents: write
packages: write

jobs:
releases-matrix:
name: Release Go Binary
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux, darwin]
goarch: [amd64, arm64]
steps:
- uses: actions/checkout@v4
- uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}

0 comments on commit c7c13cb

Please sign in to comment.