From b020798c4470bb12959e1a97a9820c5ce5265576 Mon Sep 17 00:00:00 2001 From: Angelyr Date: Thu, 24 Oct 2024 09:41:51 -0700 Subject: [PATCH] cache hit --- .github/actions/install-repo/action.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/actions/install-repo/action.yml b/.github/actions/install-repo/action.yml index 221cfc7f..43069391 100644 --- a/.github/actions/install-repo/action.yml +++ b/.github/actions/install-repo/action.yml @@ -21,11 +21,15 @@ runs: key: build-${{inputs.repo-name}} path: ${{ runner.temp }}/build-${{inputs.repo-name}} - - if: ${{ steps.build-kokkos.outputs.cache-hit == 'true'}} + + - run: echo "CACHE_HIT=${'steps.build-kokkos.outputs.cache-hit'}" >> $GITHUB_ENV + + + - if: ${{ CACHE_HIT == 'false'}} shell: bash run: echo "hello false" - - if: ${{ steps.build-kokkos.outputs.cache-hit == 'true'}} + - if: ${{ CACHE_HIT == 'true'}} shell: bash run: echo "hello true"