mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
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:
parent
bd8466a8c8
commit
d4ab6a83bc
2
.github/actions/artifact_upload/action.yml
vendored
2
.github/actions/artifact_upload/action.yml
vendored
@ -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}")"
|
||||
|
Loading…
Reference in New Issue
Block a user