mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-09 00:08:01 +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:
|
steps:
|
||||||
- name: Cache
|
- name: Cache
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
|
if: inputs.pch != 'true'
|
||||||
with:
|
with:
|
||||||
path: ${{ github.workspace }}/var/ccache
|
path: ${{ github.workspace }}/var/ccache
|
||||||
# format
|
# format
|
||||||
@@ -102,7 +103,7 @@ runs:
|
|||||||
-DBUILD_TESTING="ON" \
|
-DBUILD_TESTING="ON" \
|
||||||
-DUSE_SCRIPTPCH=${{ inputs.pch == 'true' && 'ON' || '' }} \
|
-DUSE_SCRIPTPCH=${{ inputs.pch == 'true' && 'ON' || '' }} \
|
||||||
-DUSE_COREPCH=${{ inputs.pch == 'true' && 'ON' || '' }} \
|
-DUSE_COREPCH=${{ inputs.pch == 'true' && 'ON' || '' }} \
|
||||||
${{ !inputs.pch && '-DNOPCH=true' || '' }}
|
${{ inputs.pch == 'true' && '' || '-DNOPCH=true' }}
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
Reference in New Issue
Block a user