Skip to content

Commit

Permalink
fix(CI): Don't cache pch builds (azerothcore#18674)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldelago authored Apr 5, 2024
1 parent f7f1952 commit 90cef46
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/actions/linux-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ runs:
steps:
- name: Cache
uses: actions/cache@v3
if: inputs.pch != 'true'
with:
path: ${{ github.workspace }}/var/ccache
# format
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 90cef46

Please sign in to comment.