Skip to content

Commit

Permalink
Add release github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
crazytaxii committed Jan 12, 2025
1 parent 455913b commit c9d0a07
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
on:
release:
types:
- created
- published

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: actions/setup-go@v5
with:
go-version: '1.21'
- uses: wangyoucao577/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goversion: "1.21"
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
ldflags: "-s -w"
compress_assets: auto
project_path: "./cmd/faust"
binary_name: "faust"
overwrite: TRUE
extra_files: LICENSE

0 comments on commit c9d0a07

Please sign in to comment.