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