mirror of
https://github.com/wneessen/apg-go.git
synced 2024-11-22 13:50:49 +01:00
Merge remote-tracking branch 'origin/main' into main
This commit is contained in:
commit
808725501d
4 changed files with 81 additions and 2 deletions
25
.github/workflows/release-bsd.yml
vendored
Normal file
25
.github/workflows/release-bsd.yml
vendored
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
name: Go
|
||||||
|
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [ created ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
releases-matrix:
|
||||||
|
name: Release Go Binary (BSDs)
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
goos: [freebsd, netbsd, openbsd]
|
||||||
|
goarch: ["386", amd64, arm, arm64]
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: wangyoucao577/go-release-action@v1.15
|
||||||
|
with:
|
||||||
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
goos: ${{ matrix.goos }}
|
||||||
|
goarch: ${{ matrix.goarch }}
|
||||||
|
binary_name: "apg"
|
||||||
|
extra_files: LICENSE README.md
|
||||||
|
sha256sum: true
|
||||||
|
md5sum: false
|
|
@ -6,11 +6,11 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
releases-matrix:
|
releases-matrix:
|
||||||
name: Release Go Binary
|
name: Release Go Binary (Darwin)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
goos: [linux, windows, darwin, freebsd, openbsd, netbsd]
|
goos: [darwin]
|
||||||
goarch: ["386", amd64]
|
goarch: ["386", amd64]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
@ -19,3 +19,7 @@ jobs:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
goos: ${{ matrix.goos }}
|
goos: ${{ matrix.goos }}
|
||||||
goarch: ${{ matrix.goarch }}
|
goarch: ${{ matrix.goarch }}
|
||||||
|
binary_name: "apg"
|
||||||
|
extra_files: LICENSE README.md
|
||||||
|
sha256sum: true
|
||||||
|
md5sum: false
|
25
.github/workflows/release-linux.yml
vendored
Normal file
25
.github/workflows/release-linux.yml
vendored
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
name: Go
|
||||||
|
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [ created ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
releases-matrix:
|
||||||
|
name: Release Go Binary (Linux)
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
goos: [linux]
|
||||||
|
goarch: ["386", amd64, arm, arm64, ppc64le, s390x]
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: wangyoucao577/go-release-action@v1.15
|
||||||
|
with:
|
||||||
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
goos: ${{ matrix.goos }}
|
||||||
|
goarch: ${{ matrix.goarch }}
|
||||||
|
binary_name: "apg"
|
||||||
|
extra_files: LICENSE README.md
|
||||||
|
sha256sum: true
|
||||||
|
md5sum: false
|
25
.github/workflows/release-windows.yml
vendored
Normal file
25
.github/workflows/release-windows.yml
vendored
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
name: Go
|
||||||
|
|
||||||
|
on:
|
||||||
|
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.15
|
||||||
|
with:
|
||||||
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
goos: ${{ matrix.goos }}
|
||||||
|
goarch: ${{ matrix.goarch }}
|
||||||
|
binary_name: "apg"
|
||||||
|
extra_files: LICENSE README.md
|
||||||
|
sha256sum: true
|
||||||
|
md5sum: false
|
Loading…
Reference in a new issue