Skip to content

Commit

Permalink
ci: fix programs caches folders (#1001)
Browse files Browse the repository at this point in the history
  • Loading branch information
Oppen authored Apr 17, 2023
1 parent 4ed5aea commit 9b8b935
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/hyperfine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ jobs:
uses: actions/cache@v3
id: cache
with:
path: base_programs/*.json
key: benchmarks-${{ hashFiles( 'cairo_programs/benchmarks/*.cairo' ) }}
restore-keys: benchmarks-
path: ${{ matrix.branch }}_programs/*.json
key: benchmarks-${{ matrix.branch }}-${{ hashFiles( 'cairo_programs/benchmarks/*.cairo' ) }}
restore-keys: benchmarks-${{ matrix.branch }}-

- name: Install Python
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
Expand Down Expand Up @@ -125,13 +125,13 @@ jobs:
uses: actions/cache/restore@v3
with:
path: base_programs/*.json
key: benchmarks-${{ needs.build-programs.outputs.benchmark-hashes-base }}
key: benchmarks-base-${{ needs.build-programs.outputs.benchmark-hashes-base }}

- name: Fetch head programs
uses: actions/cache/restore@v3
with:
path: head_programs/*.json
key: benchmarks-${{ needs.build-programs.outputs.benchmark-hashes-head }}
key: benchmarks-head-${{ needs.build-programs.outputs.benchmark-hashes-head }}

- name: Benchmark ${{ matrix.program_state }} programs
id: run-benchmarks
Expand Down

0 comments on commit 9b8b935

Please sign in to comment.