diff --git a/.github/workflows/release-linux.yml b/.github/workflows/release-linux.yml new file mode 100644 index 0000000..f653120 --- /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 + 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