summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorMike Delago <32778141+michaeldelago@users.noreply.github.com>2024-04-05 11:38:11 -0400
committerGitHub <noreply@github.com>2024-04-05 12:38:11 -0300
commit90cef46e6c243f5fffbebe4d15612905acbc5ed5 (patch)
tree69958ab148a4131b8214f413f394d7715cbf7202 /.github
parentf7f1952f4b6c894e01fc275cdc6a0254936f71d0 (diff)
fix(CI): Don't cache pch builds (#18674)
Diffstat (limited to '.github')
-rw-r--r--.github/actions/linux-build/action.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/actions/linux-build/action.yml b/.github/actions/linux-build/action.yml
index 3a8fefd775..9a7ca0612e 100644
--- a/.github/actions/linux-build/action.yml
+++ b/.github/actions/linux-build/action.yml
@@ -26,6 +26,7 @@ runs:
steps:
- name: Cache
uses: actions/cache@v3
+ if: inputs.pch != 'true'
with:
path: ${{ github.workspace }}/var/ccache
# format
@@ -102,7 +103,7 @@ runs:
-DBUILD_TESTING="ON" \
-DUSE_SCRIPTPCH=${{ inputs.pch == 'true' && 'ON' || '' }} \
-DUSE_COREPCH=${{ inputs.pch == 'true' && 'ON' || '' }} \
- ${{ !inputs.pch && '-DNOPCH=true' || '' }}
+ ${{ inputs.pch == 'true' && '' || '-DNOPCH=true' }}
- name: build
shell: bash