diff --git a/.github/workflows/build-npm.yml b/.github/workflows/build-npm.yml index a9075c9f26..a2b3f5c7f7 100644 --- a/.github/workflows/build-npm.yml +++ b/.github/workflows/build-npm.yml @@ -60,7 +60,7 @@ jobs: - name: Get NPM Package version id: get_npm_package_version - run: echo "npm_package_version=$(yarn get-version-npm| tail -2)" >> "$GITHUB_OUTPUT" + run: echo "npm_package_version=$(yarn get-version-npm| tail -2| head -1)" >> "$GITHUB_OUTPUT" - name: Publish to NPM uses: JS-DevTools/npm-publish@v1