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

33 lines
793 B
YAML
Raw Normal View History

# SPDX-FileCopyrightText: 2021-2024 Winni Neessen <wn@neessen.dev>
#
# SPDX-License-Identifier: CC0-1.0
2021-03-20 19:53:52 +01:00
name: Go
on:
2021-09-23 19:47:59 +02:00
workflow_dispatch:
2021-03-20 19:53:52 +01:00
release:
types: [ created ]
jobs:
releases-matrix:
2021-03-20 19:58:11 +01:00
name: Release Go Binary (BSDs)
2021-03-20 19:53:52 +01:00
runs-on: ubuntu-latest
strategy:
matrix:
goos: [freebsd, netbsd, openbsd]
goarch: ["386", amd64, arm, arm64]
steps:
- uses: actions/checkout@v2
2022-05-11 15:12:22 +02:00
- uses: wangyoucao577/go-release-action@v1.26
2021-03-20 19:53: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:52:56 +02:00
ldflags: '-s -w'
project_path: ./cmd/apg/