From d7dd58dc99792ca78a34e04fa9bbff95c14d503d Mon Sep 17 00:00:00 2001 From: Ravi Jayaramappa Date: Mon, 4 Nov 2024 09:00:21 -0800 Subject: [PATCH] fix: add debug logs to figure out npm tag issue @W-16974485@ (#236) --- .github/workflows/onRelease.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/onRelease.yml b/.github/workflows/onRelease.yml index 2230d63..442013a 100644 --- a/.github/workflows/onRelease.yml +++ b/.github/workflows/onRelease.yml @@ -22,6 +22,10 @@ jobs: ref: ${{ github.event.release.tag_name || inputs.tag }} - uses: salesforcecli/github-workflows/.github/actions/getPreReleaseTag@main id: distTag + - run: echo "[INFO] tag is=$INPUTS_TAG , version is=$INPUTS_VERSION" + env: + INPUTS_TAG: ${{ steps.distTag.outputs.tag }} + INPUTS_VERSION: ${{ steps.distTag.outputs.version }} getMajorVersion: needs: [getDistTag] @@ -30,8 +34,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: salesforcecli/github-workflows/.github/actions/parse-semver@main + id: parsedVersion with: input_string: ${{ needs.getDistTag.outputs.version }} + - run: echo "[INFO] Major version is=$INPUTS_MAJOR_VERSION" + env: + INPUTS_MAJOR_VERSION: ${{ steps.parsedVersion.outputs.major }} npm: uses: salesforcecli/github-workflows/.github/workflows/npmPublish.yml@main