diff --git a/.github/workflows/release-bsd.yml b/.github/workflows/release-bsd.yml new file mode 100644 index 0000000..6e4c42a --- /dev/null +++ b/.github/workflows/release-bsd.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release-darwin.yml similarity index 68% rename from .github/workflows/release.yml rename to .github/workflows/release-darwin.yml index 037b3b7..4b1e999 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release-darwin.yml @@ -6,11 +6,11 @@ on: jobs: releases-matrix: - name: Release Go Binary + name: Release Go Binary (Darwin) runs-on: ubuntu-latest strategy: matrix: - goos: [linux, windows, darwin, freebsd, openbsd, netbsd] + goos: [darwin] goarch: ["386", amd64] steps: - uses: actions/checkout@v2 @@ -19,3 +19,7 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }} + binary_name: "apg" + extra_files: LICENSE README.md + sha256sum: true + md5sum: false diff --git a/.github/workflows/release-linux.yml b/.github/workflows/release-linux.yml new file mode 100644 index 0000000..0468ee6 --- /dev/null +++ b/.github/workflows/release-linux.yml @@ -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 diff --git a/.github/workflows/release-windows.yml b/.github/workflows/release-windows.yml new file mode 100644 index 0000000..1fc1434 --- /dev/null +++ b/.github/workflows/release-windows.yml @@ -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