Skip to content

Commit abfb57b

Browse files
committed
Fix path handling in Qt Installer Framework installation steps
1 parent 2a248da commit abfb57b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build_pat.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ jobs:
7171
pip show aqtinstall
7272
7373
# Install Qt Installer Framework
74-
python -m aqt install-tool -O ${{ github.workspace }}/Qt/ mac desktop tools_ifw
74+
python -m aqt install-tool -O "${{ github.workspace }}/Qt/" mac desktop tools_ifw
7575
7676
# Find the actual installed version directory and add to PATH
77-
QT_IFW_DIR=$(find ${{ github.workspace }}/Qt/Tools/QtInstallerFramework -maxdepth 1 -type d -name "*" | head -1)
77+
QT_IFW_DIR=$(find "${{ github.workspace }}/Qt/Tools/QtInstallerFramework" -maxdepth 1 -type d -name "*" | head -1)
7878
if [ -d "$QT_IFW_DIR" ]; then
7979
echo "Qt Installer Framework installed successfully at: $QT_IFW_DIR"
8080
echo "$QT_IFW_DIR/bin" >> $GITHUB_PATH
@@ -95,10 +95,10 @@ jobs:
9595
pip show aqtinstall
9696
9797
# Install Qt Installer Framework
98-
python -m aqt install-tool -O ${{ github.workspace }}/Qt/ windows desktop tools_ifw
98+
python -m aqt install-tool -O "${{ github.workspace }}/Qt/" windows desktop tools_ifw
9999
100100
# Find the actual installed version directory and add to PATH
101-
QT_IFW_DIR=$(find ${{ github.workspace }}/Qt/Tools/QtInstallerFramework -maxdepth 1 -type d -name "*" | head -1)
101+
QT_IFW_DIR=$(find "${{ github.workspace }}/Qt/Tools/QtInstallerFramework" -maxdepth 1 -type d -name "*" | head -1)
102102
if [ -d "$QT_IFW_DIR" ]; then
103103
echo "Qt Installer Framework installed successfully at: $QT_IFW_DIR"
104104
echo "$QT_IFW_DIR/bin" >> $GITHUB_PATH

0 commit comments

Comments
 (0)