Skip to content

Commit 9f6497b

Browse files
build(NODE-6598): fix node signing action for all node team packages (#65)
1 parent 3bc2b4c commit 9f6497b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

node/sign_node_package/action.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,8 @@ runs:
5555
if: ${{ inputs.sign_native == 'true' }}
5656
shell: bash
5757
run: |
58-
FILENAMES="build-*/**/*.tar.gz"
59-
if [[ $FILENAMES =~ '*' ]]; then
60-
FILENAMES=$(ls $FILENAMES | sed -e ':a' -e 'N' -e '$!ba' -e 's/\n/ /g')
61-
fi
58+
# all prebuilds
59+
FILENAMES=$(find build-* -type f -name '*.tar.gz' | tr '\n' ' ')
6260
FILENAMES="$FILENAMES ${{ env.package_file }}"
6361
echo "FILES_TO_SIGN=${FILENAMES}" >> "$GITHUB_ENV"
6462

0 commit comments

Comments
 (0)