mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 09:17:18 +00:00
fix(CI): Don't cache pch builds (#18674)
This commit is contained in:
3
.github/actions/linux-build/action.yml
vendored
3
.github/actions/linux-build/action.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user