Skip to content

Commit

Permalink
Merge pull request #9 from akrherz/gha
Browse files Browse the repository at this point in the history
only upload github artifacts on tags
  • Loading branch information
akrherz authored Dec 4, 2020
2 parents 695a1e9 + 792519b commit 9932063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ jobs:
CI_DEPLOY_PASSWORD: ${{ secrets.IGNITE_REALTIME_MAVEN_PASSWORD }}

- name: Conditionally Push Artifact to Github Release
if: steps.deploy.outcome == 'success'
uses: actions/upload-release-asset@v1
if: ${{ contains(github.repository, 'igniterealtime/') && github.event_name == 'push' && contains(github.ref, 'refs/tags/') && matrix.java == '1.8' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down

0 comments on commit 9932063

Please sign in to comment.