CI: Use the correct output variable for skipping the toolchain build

This commit is contained in:
Timothy Flynn 2024-05-11 08:15:04 -04:00 committed by Tim Flynn
parent 4b1c1d1cae
commit 1f5d30cc83
2 changed files with 6 additions and 4 deletions

View file

@ -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

View file

@ -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