Skip to content

Commit

Permalink
fix(NODE-6587): adjust Node's actions to work with npm package scopes (
Browse files Browse the repository at this point in the history
  • Loading branch information
baileympearson authored Nov 27, 2024
1 parent a52148d commit 3bc2b4c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion node/get_version_info/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,7 @@ runs:
run: |
package_version=$(jq --raw-output '.version' package.json)
echo "package_version=${package_version}" >> "$GITHUB_ENV"
echo "package_file=${{ inputs.npm_package_name }}-${package_version}.tgz" >> "$GITHUB_ENV"
npm pack
PACKFILE=$(ls *.tgz)
echo "package_file=$PACKFILE" >> "$GITHUB_ENV"
echo "commit=$(git rev-parse HEAD)" >> $GITHUB_ENV
2 changes: 1 addition & 1 deletion node/sign_node_package/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ runs:
if: ${{ inputs.sign_native == 'true' }}
shell: bash
run: |
FILENAMES="build-*/*.tar.gz"
FILENAMES="build-*/**/*.tar.gz"
if [[ $FILENAMES =~ '*' ]]; then
FILENAMES=$(ls $FILENAMES | sed -e ':a' -e 'N' -e '$!ba' -e 's/\n/ /g')
fi
Expand Down

0 comments on commit 3bc2b4c

Please sign in to comment.