Skip to content

Commit

Permalink
Cache models in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterBowman committed Jun 7, 2024
1 parent 2685aad commit 1db502d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@ jobs:
with:
key: ${{matrix.os}}-${{matrix.robotology.yarp}}-${{matrix.compiler.cc}}

- name: Set up model cache
uses: actions/cache@v4
with:
path: models
key: vision-models-${{hashFiles('models/**/*')}}

- name: Set environment variables
run: |
echo "CC=${{matrix.compiler.cc}}" >> $GITHUB_ENV
Expand Down

0 comments on commit 1db502d

Please sign in to comment.