Skip to content

Commit

Permalink
workflows: fix misordered CI cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Kumonda221-CrO3 committed May 30, 2024
1 parent 759f0ba commit e199d23
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/scenario-CoupledL2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,16 @@ jobs:
with:
path: repo

- name: Cache $CCACHE_DIR
uses: actions/cache@v4
env:
CACHE_KEY: ${{ env.CACHE_BASE_KEY }}-ccache
with:
path: ${{ env.CCACHE_DIR }}
key: ${{ env.CACHE_KEY }}-${{ github.sha }}
restore-keys: |
${{ env.CACHE_KEY }}-
- name: Setup Clang 16
if: matrix.compiler.cc == 'clang-16'
working-directory: ${{ github.workspace }}
Expand Down Expand Up @@ -131,16 +141,6 @@ jobs:
working-directory: ${{ github.workspace }}
run: tar -zxf ${{ env.COUPLEDL2_ARCHIVE }}

- name: Cache $CCACHE_DIR
uses: actions/cache@v4
env:
CACHE_KEY: ${{ env.CACHE_BASE_KEY }}-ccache
with:
path: ${{ env.CCACHE_DIR }}
key: ${{ env.CACHE_KEY }}-${{ github.sha }}
restore-keys: |
${{ env.CACHE_KEY }}-
- name: Verilate CoupledL2
run: |
make THREADS_BUILD=4 coupledL2-verilate
Expand Down

0 comments on commit e199d23

Please sign in to comment.