Update go.yml

This commit is contained in:
guage 2024-11-21 14:12:38 +08:00 committed by GitHub
parent 869bcc9d45
commit d527e5cc90
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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/*