From 077abdb2f269c8ce440279ae2dfcdd0777fd0f5a Mon Sep 17 00:00:00 2001 From: Ryan Foster Date: Wed, 4 Sep 2024 13:25:36 -0400 Subject: [PATCH] CI: Fix x64 Qt files not being copied for release artifacts The previous fix attempt fixed the CI failure, but also didn't copy the necessary x64 files. Hopefully this corrects that. --- .github/workflows/main.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 90a8e25da..ae9b188d1 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -623,9 +623,10 @@ jobs: zip -r windows-deps-${{ steps.metadata.outputs.version }}-${arch}.zip -- * mv windows-deps-${{ steps.metadata.outputs.version }}-${arch}.zip ${GITHUB_WORKSPACE} - if [[ -f ${GITHUB_WORKSPACE}/qt6-windows-${arch}-!(*-@(Debug|RelWithDebInfo|Release|MinSizeRel))/*.zip ]]; then - mv ${GITHUB_WORKSPACE}/qt6-windows-${arch}-!(*-@(Debug|RelWithDebInfo|Release|MinSizeRel))/*.zip ${GITHUB_WORKSPACE} - fi + files=("${GITHUB_WORKSPACE}"/qt6-windows-"${arch}"-!(*-@(Debug|RelWithDebInfo|Release|MinSizeRel))/*.zip) + for artifact in ${files}; do + mv ${artifact} ${GITHUB_WORKSPACE} + done popd > /dev/null done