apg-go/.github/workflows/release-darwin.yml

29 lines
660 B
YAML
Raw Normal View History

2021-03-20 19:51:52 +01:00
name: Go
on:
2021-09-23 19:59:22 +02:00
workflow_dispatch:
2021-03-20 19:51:52 +01:00
release:
types: [ created ]
jobs:
releases-matrix:
2021-03-20 19:56:50 +01:00
name: Release Go Binary (Darwin)
2021-03-20 19:51:52 +01:00
runs-on: ubuntu-latest
strategy:
matrix:
goos: [darwin]
2021-09-23 20:03:34 +02:00
goarch: [amd64, arm64]
2021-03-20 19:51:52 +01:00
steps:
- uses: actions/checkout@v2
2022-05-11 15:12:58 +02:00
- uses: wangyoucao577/go-release-action@v1.26
2021-03-20 19:51:52 +01:00
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
binary_name: "apg"
extra_files: LICENSE README.md
sha256sum: true
md5sum: false
2021-09-23 19:56:01 +02:00
ldflags: '-s -w'
project_path: ./cmd/apg/