Skip to content

.github/workflows/release.yaml #1

.github/workflows/release.yaml

.github/workflows/release.yaml #1

Workflow file for this run

on:
release:
types: [created]
permissions:
contents: write
packages: write
jobs:
release-linux:
name: release binaries for linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: linux
goarch: amd64
multi_binaries: true
project_path: "./cmd/..."
goversion: "go.mod"
ldflags: -X "main.version=${{ github.ref_name }}"
extra_files: LICENSE README.md