apg-go/.github/workflows/release-windows.yml
Winni Neessen 79f921f9ad
Add .gitgnore and SPDX headers in several files
This commit introduces the .gitignore configuration file and adds SPDX headers to several files including test and documentation files. The headers provide license information in a standardized format which can be easily picked up by automated tools for license compliance checks. Additionally, it deleted a .idea/.gitignore file, which is a project specific IDE configuration file not necessary for the repository. It also introduced a README.md file providing more insightful information about the project.
2024-03-12 20:59:07 +01:00

32 lines
772 B
YAML

# SPDX-FileCopyrightText: 2021-2024 Winni Neessen <wn@neessen.dev>
#
# SPDX-License-Identifier: CC0-1.0
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/