Skip to content

Commit

Permalink
Update run.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fawazahmed0 authored Jun 14, 2024
1 parent 55aee35 commit 6994537
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,12 @@ jobs:
npx playwright install --with-deps
- name: Running the command
id: run-command
continue-on-error: true
run: node currscript.js

- name: Rerun the command if previous failed
if: failure()
if: ${{ steps.run-command.outcome == 'failure' }}
run: node currscript.js

- name: Set date today
Expand Down Expand Up @@ -78,4 +80,4 @@ jobs:
# run: npm unpublish @fawazahmed0/currency-api@`date -d "94 days ago" -I | tr '-' '.'`
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}


0 comments on commit 6994537

Please sign in to comment.