Skip to content

enable manual GitHub action. #6

enable manual GitHub action.

enable manual GitHub action. #6

Workflow file for this run

# .github/workflows/release.yaml
on:
release:
types: [created]
workflow-dispatch

Check failure on line 6 in .github/workflows/build-go.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-go.yaml

Invalid workflow file

You have an error in your yaml syntax on line 6
permissions:
contents: write
packages: write
jobs:
releases-matrix:
name: Release Go Binary
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux, windows]
goarch: [amd64, arm64]
exclude:
- goarch: arm64
goos: windows
steps:
- uses: actions/checkout@v4
- uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
extra_files: LICENSE README.md