Skip to content
This repository has been archived by the owner on Feb 19, 2023. It is now read-only.

Commit

Permalink
workflow update
Browse files Browse the repository at this point in the history
  • Loading branch information
janithcooray committed Jun 26, 2022
1 parent cc85073 commit 8bf8b29
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- name: set version to $GITHUB_REF
run: sed -i 's/___VERSION___/$GITHUB_REF_VER/g' package.json
- name: set version to ${{github.ref_name}}
run: sed -i 's/___VERSION___/${GITHUB_REF_VER}/g' package.json
env:
GITHUB_REF_VER: $GITHUB_REF
GITHUB_REF_VER: ${{github.ref_name}}
- run: npm ci
- run: npm publish
env:
Expand Down

0 comments on commit 8bf8b29

Please sign in to comment.