From 01724f2bb9632e258e74badc2feae6f6cc1eb196 Mon Sep 17 00:00:00 2001 From: Joel Schutz Date: Wed, 26 Apr 2023 15:25:25 -0300 Subject: [PATCH] Add build action --- .github/workflows/release.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 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..794ce23 --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,20 @@ +on: + release: + types: [created] + +jobs: + releases-matrix: + name: Release Go Binaries + runs-on: ubuntu-latest + strategy: + matrix: + goos: [linux, windows] + goarch: [amd64] + steps: + - uses: actions/checkout@v3 + - uses: wangyoucao577/go-release-action@v1 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + goos: ${{ matrix.goos }} + goarch: ${{ matrix.goarch }} + extra_files: LICENSE README.md \ No newline at end of file