From d527e5cc9073d17a9a870c9418e19e1f2142e26e Mon Sep 17 00:00:00 2001 From: guage Date: Thu, 21 Nov 2024 14:12:38 +0800 Subject: [PATCH] Update go.yml --- .github/workflows/go.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index bbd5283..17f1520 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -3,7 +3,10 @@ name: Go -on: push +on: + push: + tags: + - "v*.*.*" jobs: @@ -21,11 +24,10 @@ jobs: run: | go install github.com/go-bindata/go-bindata/...@latest ./build.sh - zip -r grs.zip dist/* - name: Release uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') with: - files: grs.zip + files: ./dist/*