Skip to content

Commit 562f48d

Browse files
committed
test if tag pushing
1 parent 62e2bac commit 562f48d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/go.yml

+3
Original file line numberDiff line numberDiff line change
@@ -98,18 +98,21 @@ jobs:
9898
done
9999
- name: upload artifacts
100100
uses: actions/upload-artifact@master
101+
if: startsWith(github.ref, 'refs/tags/v')
101102
with:
102103
name: binaries
103104
path: bin/
104105

105106
- name: Upload binaries to release
106107
uses: svenstaro/upload-release-action@v2
108+
if: startsWith(github.ref, 'refs/tags/v')
107109
with:
108110
repo_token: ${{ secrets.GITHUB_TOKEN }}
109111
file: bin/*
110112
tag: ${{ github.ref }}
111113
overwrite: true
112114
file_glob: true
115+
#body:
113116
# - name: Create Release
114117
# id: create_release
115118
# uses: actions/create-release@v1

0 commit comments

Comments
 (0)