diff --git a/.github/workflows/upload-jfrog-build-to-npm.yml b/.github/workflows/upload-jfrog-build-to-npm.yml index 03f8c106..6eb74ece 100644 --- a/.github/workflows/upload-jfrog-build-to-npm.yml +++ b/.github/workflows/upload-jfrog-build-to-npm.yml @@ -31,6 +31,13 @@ jobs: publish-jfrog-build-to-npm: runs-on: ubuntu-22.04 steps: + - uses: actions/checkout@v4 + with: + submodules: recursive + ref: ${{ env.COMMIT_SHA_TO_BUILD_AND_TEST }} + # We need the last tag before the ref, so we can relabel the version if needed + fetch-depth: 0 + - name: Set up JFrog credentials uses: jfrog/setup-jfrog-cli@v4 env: