Skip to content

Commit 8540430

Browse files
authored
Merge pull request #23 from rohanpm/release-action
Test action to release on tag
2 parents 97d7eec + e85a344 commit 8540430

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/go.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Go
33
on:
44
push:
55
branches: [ main ]
6+
tags: [ v* ]
67
pull_request:
78
branches: [ main ]
89

@@ -25,3 +26,12 @@ jobs:
2526
uses: shogo82148/actions-goveralls@v1
2627
with:
2728
path-to-profile: coverage.out
29+
30+
- name: Release
31+
uses: softprops/action-gh-release@v1
32+
if: startsWith(github.ref, 'refs/tags/')
33+
with:
34+
files: |
35+
exodus-rsync
36+
env:
37+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)