Skip to content

Commit 0abbde6

Browse files
committed
Fix tag checkout action code
1 parent cdfff6b commit 0abbde6

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
version_and_release:
2020
runs-on: ubuntu-latest
2121
outputs:
22-
tagName: ${{ steps.tagName.outputs.tag }}
22+
tagName: ${{ steps.npm-bump.outputs.release_tag }}
2323
steps:
2424
- uses: actions/checkout@v3
2525
with:
@@ -34,15 +34,14 @@ jobs:
3434
- run: npm i
3535
- run: npm test
3636
- name: npm version && npm publish
37+
id: npm-bump
3738
uses: bcomnes/npm-bump@v2
3839
with:
3940
git_email: [email protected]
4041
git_username: ${{ github.actor }}
4142
newversion: ${{ github.event.inputs.newversion }}
4243
github_token: ${{ secrets.GITHUB_TOKEN }}
4344
publish_cmd: npm run release
44-
- uses: bcomnes/get-git-tag@v3
45-
id: tagName
4645
- name: Archive lockfile
4746
uses: actions/upload-artifact@v3
4847
with:
@@ -63,6 +62,7 @@ jobs:
6362
pull-requests: write
6463
contents: write
6564
steps:
65+
- run: echo ${{needs.version_and_release.outputs.tagName}}
6666
- uses: actions/checkout@v3
6767
with:
6868
ref: ${{needs.version_and_release.outputs.tagName}}

.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)