ci: check for pattern completion instead of file when creating archive (#3120)

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
Daniel Weiße 2024-05-24 08:46:22 +02:00 committed by GitHub
parent bd8466a8c8
commit d4ab6a83bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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}")"