File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 19
19
version_and_release :
20
20
runs-on : ubuntu-latest
21
21
outputs :
22
- tagName : ${{ steps.tagName .outputs.tag }}
22
+ tagName : ${{ steps.npm-bump .outputs.release_tag }}
23
23
steps :
24
24
- uses : actions/checkout@v3
25
25
with :
@@ -34,15 +34,14 @@ jobs:
34
34
- run : npm i
35
35
- run : npm test
36
36
- name : npm version && npm publish
37
+ id : npm-bump
37
38
uses : bcomnes/npm-bump@v2
38
39
with :
39
40
40
41
git_username : ${{ github.actor }}
41
42
newversion : ${{ github.event.inputs.newversion }}
42
43
github_token : ${{ secrets.GITHUB_TOKEN }}
43
44
publish_cmd : npm run release
44
- - uses : bcomnes/get-git-tag@v3
45
- id : tagName
46
45
- name : Archive lockfile
47
46
uses : actions/upload-artifact@v3
48
47
with :
63
62
pull-requests : write
64
63
contents : write
65
64
steps :
65
+ - run : echo ${{needs.version_and_release.outputs.tagName}}
66
66
- uses : actions/checkout@v3
67
67
with :
68
68
ref : ${{needs.version_and_release.outputs.tagName}}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments