We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02e3619 commit d56a459Copy full SHA for d56a459
action.yml
@@ -265,8 +265,14 @@ runs:
265
tarProg="tar"
266
fi
267
268
+ printf "tar -tf"
269
+ ${tarProg} -tf "${{ inputs.tarball-name }}"
270
+
271
+ printf "tar -tf | grep"
272
+ ${tarProg} -tf "${{ inputs.tarball-name }}" | grep -E '^\.|/\.'
273
274
printf "::group::${ANSI_LIGHT_BLUE}Removing unwanted files from '${{ inputs.tarball-name }}' ...:${ANSI_NOCOLOR}\n"
- while IFS=$'\r\n' read -r file; do
275
+ while IFS=$' \r\n' read -r file; do
276
printf " %s\n" "${file}"
277
${tarProg} -vf "${{ inputs.tarball-name }}" --delete "${file}"
278
done <<<$(${tarProg} -tf "${{ inputs.tarball-name }}" | grep -E '^\.|/\.')
0 commit comments