Skip to content

Commit bbc8ef5

Browse files
committed
Remove and restore Qt only after cross-compiling
1 parent 287425a commit bbc8ef5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/workflows/linux-build.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,11 @@ jobs:
9393
with:
9494
path: ./qt-cross/
9595
key: qt-cross-${{ runner.os }}-${{ matrix.qt-version }}-${{ matrix.qt-target }}-${{ matrix.qt-modules }}-${{ matrix.arch }}
96-
- if: "!contains(matrix.arch, 'amd64')"
96+
- if: "!contains(matrix.arch, 'amd64') && steps.restore-qt-cross.outputs.cache-hit != 'true'"
9797
name: Remove cross-compiled Qt
9898
run: rm -rf qt-cross
9999
shell: bash
100-
- if: "!contains(matrix.arch, 'amd64')"
100+
- if: "!contains(matrix.arch, 'amd64') && steps.restore-qt-cross.outputs.cache-hit != 'true'"
101101
name: Restore cross-compiled Qt from cache
102102
uses: actions/cache/restore@v4
103103
with:

0 commit comments

Comments
 (0)