Skip to content

Commit

Permalink
Add ifs
Browse files Browse the repository at this point in the history
  • Loading branch information
gurpreet- committed Apr 4, 2021
1 parent 13285be commit 2405f96
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/primary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,16 @@ jobs:
name: Publish to snapshot repo if master branch
runs-on: ubuntu-latest
needs: test
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/master' && always()
steps:
- uses: technote-space/workflow-conclusion-action@v2
- uses: actions/checkout@v2
if: env.WORKFLOW_CONCLUSION == 'success'
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
if: env.WORKFLOW_CONCLUSION == 'success'
- name: Import GPG key
id: import_gpg
uses: crazy-max/ghaction-import-gpg@v3
Expand Down

0 comments on commit 2405f96

Please sign in to comment.