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 | |
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')
-rw-r--r-- | .github/workflows/build.yml | 7 | ||||
-rw-r--r-- | .github/workflows/trigger_builds.yml | 1 | ||||
-rw-r--r-- | .github/workflows/trigger_release.yml | 1 |
3 files changed, 7 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 diff --git a/.github/workflows/trigger_builds.yml b/.github/workflows/trigger_builds.yml index 8adaa5e5..44751fbc 100644 --- a/.github/workflows/trigger_builds.yml +++ b/.github/workflows/trigger_builds.yml @@ -30,5 +30,6 @@ jobs: uses: ./.github/workflows/build.yml with: build_type: Debug + is_qt_cached: true secrets: SPARKLE_ED25519_KEY: ${{ secrets.SPARKLE_ED25519_KEY }} diff --git a/.github/workflows/trigger_release.yml b/.github/workflows/trigger_release.yml index d415b2b1..8baa9693 100644 --- a/.github/workflows/trigger_release.yml +++ b/.github/workflows/trigger_release.yml @@ -12,6 +12,7 @@ jobs: uses: ./.github/workflows/build.yml with: build_type: Release + is_qt_cached: false secrets: SPARKLE_ED25519_KEY: ${{ secrets.SPARKLE_ED25519_KEY }} |