mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-07 08:29:58 +00:00
CI: Use the correct output variable for skipping the toolchain build
This commit is contained in:
parent
4b1c1d1cae
commit
1f5d30cc83
|
@ -50,9 +50,10 @@ jobs:
|
|||
download_cache_path: ${{ github.workspace }}/Build/caches
|
||||
|
||||
- name: Build toolchain
|
||||
if: ${{ !steps.toolchain-cache.outputs.cache-hit }}
|
||||
run: ARCH="${{ env.PVS_STUDIO_ANALYSIS_ARCH }}" ${{ github.workspace }}/Toolchain/BuildGNU.sh
|
||||
if: ${{ !steps.cache-restore.outputs.toolchain_prebuilt_hit }}
|
||||
run: ${{ github.workspace }}/Toolchain/BuildGNU.sh
|
||||
env:
|
||||
ARCH: ${{ env.PVS_STUDIO_ANALYSIS_ARCH }}
|
||||
CCACHE_DIR: ${{ env.TOOLCHAIN_CCACHE_DIR }}
|
||||
|
||||
- name: Create build environment
|
||||
|
|
|
@ -74,9 +74,10 @@ jobs:
|
|||
download_cache_path: ${{ github.workspace }}/Build/caches
|
||||
|
||||
- name: Build toolchain
|
||||
if: ${{ !steps.toolchain-cache.outputs.cache-hit }}
|
||||
run: ARCH="${{ env.SONAR_ANALYSIS_ARCH }}" ${{ github.workspace }}/Toolchain/BuildGNU.sh
|
||||
if: ${{ !steps.cache-restore.outputs.toolchain_prebuilt_hit }}
|
||||
run: ${{ github.workspace }}/Toolchain/BuildGNU.sh
|
||||
env:
|
||||
ARCH: ${{ env.SONAR_ANALYSIS_ARCH }}
|
||||
CCACHE_DIR: ${{ env.TOOLCHAIN_CCACHE_DIR }}
|
||||
|
||||
- name: Create build environment
|
||||
|
|
Loading…
Reference in a new issue