From 2db090325504baa88fa44f9e210aad524298ba65 Mon Sep 17 00:00:00 2001 From: Morgan Pittkin Date: Wed, 25 Oct 2023 14:56:51 -0400 Subject: [PATCH] add GitHub Actions workflow to release go binary for linux/amd64 --- .github/workflows/go-release.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/go-release.yaml diff --git a/.github/workflows/go-release.yaml b/.github/workflows/go-release.yaml new file mode 100644 index 0000000..281c29d --- /dev/null +++ b/.github/workflows/go-release.yaml @@ -0,0 +1,20 @@ +name: Release Go Binaries +on: + release: + types: [created] + +permissions: + contents: write + packages: write + +jobs: + release-linux-amd64: + name: release linux/amd64 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: wangyoucao577/go-release-action@v1 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + goos: linux + goarch: amd64 \ No newline at end of file