ci: Set lookup-only when checking toolchain exists

Signed-off-by: Tim Crawford <tcrawford@system76.com>
This commit is contained in:
Tim Crawford 2025-03-11 14:59:49 -06:00 committed by Jeremy Soller
parent acad945825
commit 25aa330fe7

View file

@ -26,12 +26,13 @@ jobs:
fetch-tags: true
fetch-depth: 0
- name: Get coreboot toolchain
- name: Check coreboot toolchain exists
id: get_coreboot_toolchain
uses: actions/cache@v4
with:
path: ${{ env.XGCC_DIR }}
key: coreboot-${{ hashFiles('coreboot/util/crossgcc/sum/*') }}
lookup-only: true
- name: Build coreboot toolchain
if: steps.get_coreboot_toolchain.outputs.cache-hit != 'true'