Skip to content

.github/workflows/release.yml #25

.github/workflows/release.yml

.github/workflows/release.yml #25

Workflow file for this run

on:
release:
types: [created]
permissions:
contents: write
packages: write
jobs:
release-linux-amd64:
name: release linux/amd64
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: linux
goarch: amd64
ldflags: -extldflags "-static"
env:
CGO_ENABLED: 0