Skip to content

Commit

Permalink
use utc date
Browse files Browse the repository at this point in the history
  • Loading branch information
fawazahmed0 committed Mar 6, 2024
1 parent 838b254 commit c23009d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:

- name: Set date today
run: |
echo "date_today=`date -I`" >> "$GITHUB_ENV"
echo "date_today=`date -uI`" >> "$GITHUB_ENV"
echo "date_today_semver=`node semver-date.js`" >> "$GITHUB_ENV"
- name: Generate tarball
Expand All @@ -59,7 +59,7 @@ jobs:
- name: publish
run: |
npm publish --access public package.tar.gz
npm dist-tag add @fawazahmed0/currency-api@${{ env.date_today_semver }} `date -I`
npm dist-tag add @fawazahmed0/currency-api@${{ env.date_today_semver }} ${{ env.date_today }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

Expand Down

0 comments on commit c23009d

Please sign in to comment.