diff options
author | DioEgizio <83089242+DioEgizio@users.noreply.github.com> | 2022-11-09 19:56:38 +0100 |
---|---|---|
committer | DioEgizio <83089242+DioEgizio@users.noreply.github.com> | 2022-11-13 18:54:55 +0100 |
commit | 841c2e9166e01a8ecff61c96a05b3bdef64fe969 (patch) | |
tree | f893c776d79be6c549943241afbb0cb43e99a20d /.github/workflows/build.yml | |
parent | 07392d493cf7b1a0cb0e0f11838986935a4d2379 (diff) | |
download | PrismLauncher-841c2e9166e01a8ecff61c96a05b3bdef64fe969.tar.gz PrismLauncher-841c2e9166e01a8ecff61c96a05b3bdef64fe969.tar.bz2 PrismLauncher-841c2e9166e01a8ecff61c96a05b3bdef64fe969.zip |
fix: disable caching Qt on release
it's good practice to not cache on release builds
Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r-- | .github/workflows/build.yml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6104109d..f5d98f90 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,6 +7,10 @@ on: description: Type of build (Debug, Release, RelWithDebInfo, MinSizeRel) type: string default: Debug + is_qt_cached: + description: Enable Qt caching or not + type: string + default: true secrets: SPARKLE_ED25519_KEY: description: Private key for signing Sparkle updates @@ -200,8 +204,7 @@ jobs: arch: ${{ matrix.qt_arch }} modules: ${{ matrix.qt_modules }} tools: ${{ matrix.qt_tools }} - cache: true - cache-key-prefix: ${{ matrix.qt_host }}-${{ matrix.qt_version }}-"${{ matrix.qt_modules }}"-qt_cache + cache: ${{ inputs.is_qt_cached }} - name: Prepare AppImage (Linux) if: runner.os == 'Linux' && matrix.qt_ver != 5 |