From 7dc3526935b5efc5a3fd37bb98f6f8b50e4b780a Mon Sep 17 00:00:00 2001 From: Grant Arnold Date: Thu, 19 May 2022 09:08:49 -0700 Subject: [PATCH] Test release github action. --- .github/workflows/release.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/release.yaml diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..832a7fa --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,26 @@ +# .github/workflows/release.yaml + +on: + release: + types: [created] + +jobs: + releases-matrix: + name: Release Go Binary + runs-on: ubuntu-latest + strategy: + matrix: + # build and publish in parallel: linux/amd64, linux/arm64, windows/amd64, darwin/amd64, darwin/arm64 + goos: [linux, windows, darwin] + goarch: [amd64, arm64] + exclude: + - goarch: arm64 + goos: windows + steps: + - uses: actions/checkout@v3 + - uses: wangyoucao577/go-release-action@v1.28 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + goos: ${{ matrix.goos }} + goarch: ${{ matrix.goarch }} + binary_name: "fmeserver" \ No newline at end of file