Skip to content

Commit

Permalink
Merge pull request #23 from rohanpm/release-action
Browse files Browse the repository at this point in the history
Test action to release on tag
  • Loading branch information
rohanpm committed Mar 7, 2021
2 parents 97d7eec + e85a344 commit 8540430
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Go
on:
push:
branches: [ main ]
tags: [ v* ]
pull_request:
branches: [ main ]

Expand All @@ -25,3 +26,12 @@ jobs:
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: coverage.out

- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
exodus-rsync
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 8540430

Please sign in to comment.