Skip to content

Commit 7f2b77f

Browse files
committed
chore: update publish actions
1 parent 105ca2b commit 7f2b77f

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/publish npm.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ jobs:
4040
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
4141
npm publish
4242
43-
echo "::set-output name=PACKAGE_NAME::$(node -p "require('./package.json').name")"
44-
echo "::set-output name=PACKAGE_VERSION::$(node -p "require('./package.json').version")"
43+
echo "PACKAGE_NAME=$(node -p "require('./package.json').name")" >> $GITHUB_ENV
44+
echo "PACKAGE_VERSION=$(node -p "require('./package.json').version")" >> $GITHUB_ENV
4545
46-
git tag -a "${{ steps.package_info.outputs.PACKAGE_NAME }}@${{ steps.package_info.outputs.PACKAGE_VERSION }}" -m "Release ${{ steps.package_info.outputs.PACKAGE_NAME }} version ${{ steps.package_info.outputs.PACKAGE_VERSION }}"
47-
git push origin "${{ steps.package_info.outputs.PACKAGE_NAME }}@${{ steps.package_info.outputs.PACKAGE_VERSION }}"
46+
git tag -a "${PACKAGE_NAME}@${PACKAGE_VERSION}" -m "Release ${PACKAGE_NAME} version ${PACKAGE_VERSION}"
47+
git push origin "${PACKAGE_NAME}@${PACKAGE_VERSION}"

packages/plugin-resource-tabs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@alilc/lowcode-plugin-resource-tabs",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "alibaba lowcode resource tabs plugin",
55
"files": [
66
"es",

packages/plugin-view-manager-pane/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@alilc/lowcode-plugin-view-manager-pane",
3-
"version": "1.0.3",
3+
"version": "1.0.4",
44
"description": "alibaba lowcode editor undo redo plugin",
55
"files": [
66
"es",

0 commit comments

Comments
 (0)