mirror of
https://github.com/nikdoof/aaisp-chaos.git
synced 2025-12-13 14:52:17 +00:00
29 lines
787 B
YAML
29 lines
787 B
YAML
on:
|
|
release:
|
|
types: [created]
|
|
|
|
jobs:
|
|
releases-matrix:
|
|
name: Release Go Binary
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
goos: [linux, windows, darwin]
|
|
goarch: ["386", amd64, arm64]
|
|
exclude:
|
|
- goarch: "386"
|
|
goos: darwin
|
|
- goarch: arm64
|
|
goos: windows
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: wangyoucao577/go-release-action@v1.26
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
goos: ${{ matrix.goos }}
|
|
goarch: ${{ matrix.goarch }}
|
|
goversion: "https://dl.google.com/go/go1.18.1.linux-amd64.tar.gz"
|
|
project_path: "./cmd/aaisp_exporter"
|
|
binary_name: "aaisp_exporter"
|
|
extra_files: LICENSE cmd/aaisp_exporter/README.md
|