Skip to content

Commit f55e0ae

Browse files
authored
Update release-package.yml
1 parent eeb9b60 commit f55e0ae

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

.github/workflows/release-package.yml

+5-11
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ jobs:
2323
permissions:
2424
packages: write
2525
contents: read
26+
outputs:
27+
semver: ${{ steps.gitversion.SemVer }}
28+
2629
steps:
2730
- uses: actions/checkout@v2
2831
with:
@@ -72,20 +75,11 @@ jobs:
7275
with:
7376
node-version: 12
7477
registry-url: https://registry.npmjs.org
75-
76-
- name: Install GitVersion
77-
uses: gittools/actions/gitversion/[email protected]
78-
with:
79-
versionSpec: '5.x'
80-
81-
- name: Determine Version
82-
id: gitversion
83-
uses: gittools/actions/gitversion/[email protected]
84-
78+
8579
- name: 'Change NPM version'
8680
uses: reedyuk/[email protected]
8781
with:
88-
version: $GITVERSION_SEMVER
82+
version: ${{ needs.publish-gpr.semver }}
8983
package: ch8_packages/npm
9084

9185
- run: npm ci

0 commit comments

Comments
 (0)