apg-go/.github/workflows/release-windows.yml
Winni Neessen 19f53a157d
Update release-windows.yml
Update go-release action to v1.26
2022-05-11 15:08:43 +02:00

28 lines
667 B
YAML

name: Go
on:
workflow_dispatch:
release:
types: [ created ]
jobs:
releases-matrix:
name: Release Go Binary (Windows)
runs-on: ubuntu-latest
strategy:
matrix:
goos: [windows]
goarch: ["386", amd64, arm]
steps:
- uses: actions/checkout@v2
- uses: wangyoucao577/go-release-action@v1.26
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
binary_name: "apg"
extra_files: LICENSE README.md
sha256sum: true
md5sum: false
ldflags: '-s -w'
project_path: ./cmd/apg/