diff --git a/.github/actions/linux-build/action.yml b/.github/actions/linux-build/action.yml index b3edb12ad..3a8fefd77 100644 --- a/.github/actions/linux-build/action.yml +++ b/.github/actions/linux-build/action.yml @@ -100,8 +100,8 @@ runs: -DCMAKE_CXX_COMPILER_LAUNCHER="ccache" \ -DCMAKE_C_COMPILER_LAUNCHER="ccache" \ -DBUILD_TESTING="ON" \ - -DUSE_SCRIPTPCH=${{ inputs.pch && 'ON' || '' }} \ - -DUSE_COREPCH=${{ inputs.pch && 'ON' || '' }} \ + -DUSE_SCRIPTPCH=${{ inputs.pch == 'true' && 'ON' || '' }} \ + -DUSE_COREPCH=${{ inputs.pch == 'true' && 'ON' || '' }} \ ${{ !inputs.pch && '-DNOPCH=true' || '' }} - name: build