From e85a34401a754f9ecd88549b82b909128a4e6e68 Mon Sep 17 00:00:00 2001 From: Rohan McGovern Date: Mon, 8 Mar 2021 08:36:16 +1000 Subject: [PATCH] Test action to release on tag --- .github/workflows/go.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 7e66752..9711373 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -3,6 +3,7 @@ name: Go on: push: branches: [ main ] + tags: [ v* ] pull_request: branches: [ main ] @@ -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 }}