Skip to content

Commit

Permalink
publish only if all other jobs have succeeded
Browse files Browse the repository at this point in the history
  • Loading branch information
mwouts committed Jun 21, 2023
1 parent 77c7142 commit aea8179
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
uses: codecov/codecov-action@v3

test-conda:
needs: test-pip
needs: pre-commit
strategy:
matrix:
os: [ 'ubuntu-latest', 'macos-latest', 'windows-latest' ]
Expand Down Expand Up @@ -168,7 +168,7 @@ jobs:
publish:
name: Publish to PyPi
needs: [test-pip, test-conda, build]
needs: [codeql, test-pip, test-conda, build]
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
runs-on: ubuntu-latest
environment:
Expand Down

0 comments on commit aea8179

Please sign in to comment.