We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51356d9 commit 31ba4baCopy full SHA for 31ba4ba
.github/workflows/npm-publish.yml
@@ -28,7 +28,12 @@ jobs:
28
with:
29
node-version: 12
30
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\//}
34
- run: npm ci
- - run: npm publish
35
+ - run: |
36
+ echo ${{ steps.vars.outputs.release_version }}
37
+ npm publish
38
env:
39
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
0 commit comments