Skip to content

Commit 31ba4ba

Browse files
Update npm-publish.yml
1 parent 51356d9 commit 31ba4ba

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/npm-publish.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,12 @@ jobs:
2828
with:
2929
node-version: 12
3030
registry-url: https://registry.npmjs.org/
31+
- name: Set output
32+
id: vars
33+
run: echo ::set-output name=release_version::${GITHUB_REF/refs\/tags\//}
3134
- run: npm ci
32-
- run: npm publish
35+
- run: |
36+
echo ${{ steps.vars.outputs.release_version }}
37+
npm publish
3338
env:
3439
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 commit comments

Comments
 (0)