|
|
@ -159,7 +159,7 @@ jobs: |
|
|
|
# TODO: Change the version to the released version when https://github.com/actions/cache/pull/489 (or 571) is merged. |
|
|
|
# TODO: Change the version to the released version when https://github.com/actions/cache/pull/489 (or 571) is merged. |
|
|
|
uses: actions/cache@03e00da99d75a2204924908e1cca7902cafce66b |
|
|
|
uses: actions/cache@03e00da99d75a2204924908e1cca7902cafce66b |
|
|
|
env: |
|
|
|
env: |
|
|
|
CACHE_SKIP_SAVE: ${{ github.ref == 'refs/heads/master' && github.repository == 'commaai/openpilot' }} |
|
|
|
CACHE_SKIP_SAVE: ${{ github.ref != 'refs/heads/master' || github.repository != 'commaai/openpilot' }} |
|
|
|
with: |
|
|
|
with: |
|
|
|
path: /tmp/scons_cache |
|
|
|
path: /tmp/scons_cache |
|
|
|
key: scons-${{ hashFiles('.github/workflows/selfdrive_tests.yaml') }}-${{ steps.date.outputs.time }} |
|
|
|
key: scons-${{ hashFiles('.github/workflows/selfdrive_tests.yaml') }}-${{ steps.date.outputs.time }} |
|
|
|