Skip to content

Commit

Permalink
CI: Fix failure when trying to move Qt x86 zip
Browse files Browse the repository at this point in the history
Due to recent changes to remove unnecessary x86 builds, the Qt x86
artifact no longer exists, so CI fails during release creation. Instead
of assuming the file exists for all architectures, use a test and an if
statement to check for possible matches.
  • Loading branch information
RytoEX committed Sep 3, 2024
1 parent 9a93525 commit d6c028e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,9 @@ jobs:
zip -r windows-deps-${{ steps.metadata.outputs.version }}-${arch}.zip -- *
mv windows-deps-${{ steps.metadata.outputs.version }}-${arch}.zip ${GITHUB_WORKSPACE}
mv ${GITHUB_WORKSPACE}/qt6-windows-${arch}-!(*-@(Debug|RelWithDebInfo|Release|MinSizeRel))/*.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
popd > /dev/null
done
Expand Down

0 comments on commit d6c028e

Please sign in to comment.