mirror of
https://github.com/fawazahmed0/exchange-api.git
synced 2025-08-22 18:38:37 +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
|
npx playwright install --with-deps
|
||||||
|
|
||||||
- name: Running the command
|
- name: Running the command
|
||||||
|
id: run-command
|
||||||
|
continue-on-error: true
|
||||||
run: node currscript.js
|
run: node currscript.js
|
||||||
|
|
||||||
- name: Rerun the command if previous failed
|
- name: Rerun the command if previous failed
|
||||||
if: failure()
|
if: ${{ steps.run-command.outcome == 'failure' }}
|
||||||
run: node currscript.js
|
run: node currscript.js
|
||||||
|
|
||||||
- name: Set date today
|
- name: Set date today
|
||||||
@ -78,4 +80,4 @@ jobs:
|
|||||||
# run: npm unpublish @fawazahmed0/currency-api@`date -d "94 days ago" -I | tr '-' '.'`
|
# run: npm unpublish @fawazahmed0/currency-api@`date -d "94 days ago" -I | tr '-' '.'`
|
||||||
# env:
|
# env:
|
||||||
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user