Skip to content

Commit

Permalink
cache hit
Browse files Browse the repository at this point in the history
  • Loading branch information
Angelyr committed Oct 24, 2024
1 parent 154e478 commit b020798
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/actions/install-repo/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit b020798

Please sign in to comment.