diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 527a2e4..fb120c4 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -46,7 +46,7 @@ jobs: if: ${{ inputs.should_pack == true }} run: | VERSION=$(node -pe 'require("./package.json").version') - echo "::set-output name=version::$VERSION" + echo "version=$VERSION" >> $GITHUB_OUTPUT - name: Upload build result if: ${{ inputs.should_pack == true }} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b13279b..39eaf17 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -48,6 +48,8 @@ jobs: if: ${{ needs.ensure_version_changed.outputs.version }} name: Publish to npm steps: + - name: echo + run: echo ${{ needs.ensure_version_changed.outputs.version }} - name: Download artifact uses: actions/download-artifact@v3 with: