Skip to content

Commit

Permalink
add failure condition
Browse files Browse the repository at this point in the history
  • Loading branch information
rhotertj committed Jun 4, 2024
1 parent a34d338 commit 94f7519
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/setup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
path: $DB_FILENAME

- name: Create DB
if: ${{ steps.download_artifact.conclusion == 'failure' }}
if: ${{ failure() && steps.download_artifact.conclusion == 'failure' }}
run: |
pip install -r requirements.txt
python scripts/create_database.py --filename $DB_FILENAME
Expand Down

0 comments on commit 94f7519

Please sign in to comment.