Skip to content

Commit

Permalink
fix: add debug logs to figure out npm tag issue @W-16974485@ (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
ravijayaramappa authored Nov 4, 2024
1 parent adbc954 commit d7dd58d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/onRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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
Expand Down

0 comments on commit d7dd58d

Please sign in to comment.