summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
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