Skip to content

Commit

Permalink
ci: check for pattern completion instead of file when creating archive (
Browse files Browse the repository at this point in the history
#3120)

Signed-off-by: Daniel Weiße <[email protected]>
  • Loading branch information
daniel-weisse authored May 24, 2024
1 parent bd8466a commit d4ab6a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/artifact_upload/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ runs:
for target in ${paths}
do
if [[ -f "${target}" ]]
if compgen -G "${target}" > /dev/null
then
pushd "$(dirname "${target}")" || exit 1
7zz a -p'${{ inputs.encryptionSecret }}' -bso0 -bsp0 -t7z -ms=on -mhe=on "${{ steps.tempdir.outputs.directory }}/archive.7z" "$(basename "${target}")"
Expand Down

0 comments on commit d4ab6a8

Please sign in to comment.