From e0a68b88e852bc23965ebbf70225dcdd571c1e8c Mon Sep 17 00:00:00 2001 From: bri <284789+b-@users.noreply.github.com> Date: Sun, 10 Dec 2023 18:53:08 -0500 Subject: [PATCH] ci(release): add release --- .github/workflows/release.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 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..9826fc1 --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,25 @@ +# .github/workflows/release.yaml + +on: + push: + branches: [ main ] + 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 + release_tag: dev + overwrite: true \ No newline at end of file