Skip to content

Commit b94a60d

Browse files
authored
Update publish.yml
1 parent 7bec5e8 commit b94a60d

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/publish.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,17 @@ jobs:
1616
id: version
1717
uses: release-kit/semver@v2
1818
with:
19+
source: latest-tag
1920
fallback: 'v7.1.0-alpha+1'
20-
21+
- name: Use parsed version
22+
run: |
23+
echo "${{ steps.version.outputs.major }}"
24+
echo "${{ steps.version.outputs.minor }}"
25+
echo "${{ steps.version.outputs.patch }}"
26+
echo "${{ steps.version.outputs.prerelease }}"
27+
echo "${{ steps.version.outputs.build }}"
28+
echo "${{ steps.version.outputs.full }}"
29+
2130
- uses: actions/setup-node@v3
2231
with:
2332
node-version: '18.x'

0 commit comments

Comments
 (0)