mirror of
https://github.com/fawazahmed0/exchange-api.git
synced 2025-06-29 18:21:14 +00:00
Update run.yml
This commit is contained in:
parent
55aee357ba
commit
69945378e6
6
.github/workflows/run.yml
vendored
6
.github/workflows/run.yml
vendored
@ -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
|
||||
@ -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 }}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user