Skip to content

Commit

Permalink
Skip downloading caches (#331)
Browse files Browse the repository at this point in the history
At these stages, it is sufficient to just check if a cache entry exists
without downloading the cache.
  • Loading branch information
marbre authored Apr 4, 2024
1 parent b6c2bdc commit c175ce3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
with:
path: ${{ env.TOOLCHAIN }}
key: ${{ runner.os }}-arm-gnu-toolchain-${{ env.TOOLCHAIN_VERSION }}-x86_64-arm-none-eabi
lookup-only: 'true'

- name: Install GNU Arm Embedded Toolchain
if: steps.cache-toolchain.outputs.cache-hit != 'true'
Expand All @@ -60,6 +61,7 @@ jobs:
${{ env.VENV_RENODE }}
${{ env.RENODE }}
key: ${{ runner.os }}-${{ env.RENODE }}-${{ env.RENODE_VERSION }}
lookup-only: 'true'

- name: Install Renode
if: steps.cache-renode.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -89,6 +91,7 @@ jobs:
${{ env.VENV_IREE }}
${{ env.IREE_HOST_INSTALL }}
key: ${{ runner.os }}-iree-snapshot-${{ hashFiles('iree-release-link.txt') }}
lookup-only: 'true'

- name: Install IREE Dependencies
if: steps.cache-snapshot.outputs.cache-hit != 'true'
Expand Down

0 comments on commit c175ce3

Please sign in to comment.