Skip to content

.github/workflows/release.yaml #27

.github/workflows/release.yaml

.github/workflows/release.yaml #27

Workflow file for this run

# https://github.com/marketplace/actions/go-release-binaries
on:
release:
types: [created]
jobs:
release-linux-amd64:
name: release linux/amd64
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux,windows, darwin]
goarch: [amd64, arm64]
exclude:
- goarch: arm64
goos: windows
steps:
- uses: actions/checkout@v4
- uses: wangyoucao577/go-release-action@v1.51
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
binary_name: overlaytest
retry: 10
sha256sum: true
overwrite: true
pre_command: go mod tidy