Skip to content

Commit bb05356

Browse files
committed
ci: 🎡 WIP package publishing in CI
1 parent 77fb82f commit bb05356

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

‎.github/workflows/publish-release.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,18 @@ jobs:
5454
- name: 🔄 Init Cache
5555
uses: ./.github/actions/npm-cache
5656

57-
- name: Publish stable packages
57+
- name: Set the Env
5858
run: |
5959
SEMVER_VERSION=$(npx find-versions-cli ${{ github.event.release.tag_name }})
6060
VALID_SEMVER_VERSION=$(node scripts/version-helper.js $SEMVER_VERSION)
6161
echo "Semver stable version unclean $SEMVER_VERSION"
6262
echo "Semver stable version valid $VALID_SEMVER_VERSION"
63+
echo "VALID_SEMVER_VERSION=$(echo $VALID_SEMVER_VERSION)" >> $GITHUB_ENV
64+
65+
- name: Publish stable packages
66+
run: |
67+
echo "version is:"
68+
echo ${{env.VALID_SEMVER_VERSION }}
6369
npm version --no-git-tag-version ${{ env.VALID_SEMVER_VERSION }} --workspace=@ci-cd/abcd
6470
npm run publish:abcd
6571

0 commit comments

Comments
 (0)