Skip to content

.github/workflows/release.yaml #2

.github/workflows/release.yaml

.github/workflows/release.yaml #2

Workflow file for this run

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