Skip to content

Commit

Permalink
update cache
Browse files Browse the repository at this point in the history
  • Loading branch information
admercs committed May 8, 2024
1 parent 9c69d55 commit 28d0d19
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/test_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,18 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: "Set gcc version output"
id: gcc-version
run: |
echo "::set-output name=version::${GCC_VERSION}"
- name: "Cache GCC build"
id: cache-gcc
id: gcc-cache
uses: actions/cache@v4
with:
path: |
"**/external/gcc/gcc-${GCC_VERSION}"
key: ${{ runner.os }}-gcc-${{ hashFiles('**/external/gcc/gcc-${GCC_VERSION}/*') }}
"**/external/gcc"
key: ${{ runner.os }}-gcc-${{steps.gcc-version.outputs.version}}
restore-keys: |
${{ runner.os }}-gcc-
Expand Down

0 comments on commit 28d0d19

Please sign in to comment.