Skip to content

Commit

Permalink
update actions cache
Browse files Browse the repository at this point in the history
  • Loading branch information
admercs committed May 6, 2024
1 parent cdb5da0 commit 1d3da18
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/test_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,16 @@ jobs:
id: cache-gcc
uses: actions/cache@v4
with:
path: "gcc-${GCC_VERSION}"
key: gcc
path: |
"~/gcc-${GCC_VERSION}"
key: ${{ runner.os }}-gcc-${{ hashFiles('**/*gcc-${GCC_VERSION}*') }}
restore-keys: |
${{ runner.os }}-gcc-
- name: "Build GCC from source"
if: steps.cache-gcc.outputs.cache-hit != 'true'
shell: bash
run: bash ./scripts/build_gcc.sh --version "$GCC_VERSION"
#- name: "Build GCC from source"
# if: steps.cache-gcc.outputs.cache-hit != 'true'
# shell: bash
# run: bash ./scripts/build_gcc.sh --version "$GCC_VERSION"

- name: "Install AutonomySim Dependencies"
shell: bash
Expand Down

0 comments on commit 1d3da18

Please sign in to comment.