mirror of
https://github.com/howmp/reality
synced 2025-02-23 02:22:15 +08:00
Update go.yml
This commit is contained in:
parent
869bcc9d45
commit
d527e5cc90
8
.github/workflows/go.yml
vendored
8
.github/workflows/go.yml
vendored
@ -3,7 +3,10 @@
|
|||||||
|
|
||||||
name: Go
|
name: Go
|
||||||
|
|
||||||
on: push
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- "v*.*.*"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
@ -21,11 +24,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
go install github.com/go-bindata/go-bindata/...@latest
|
go install github.com/go-bindata/go-bindata/...@latest
|
||||||
./build.sh
|
./build.sh
|
||||||
zip -r grs.zip dist/*
|
|
||||||
|
|
||||||
- name: Release
|
- name: Release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
with:
|
with:
|
||||||
files: grs.zip
|
files: ./dist/*
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user