ci: scons save condition was flipped

old-commit-hash: 579994ced9
This commit is contained in:
Willem Melching 2021-11-12 19:30:55 +01:00
parent 71906f45fb
commit b42be232d6
1 changed files with 1 additions and 1 deletions

View File

@ -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.
uses: actions/cache@03e00da99d75a2204924908e1cca7902cafce66b
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:
path: /tmp/scons_cache
key: scons-${{ hashFiles('.github/workflows/selfdrive_tests.yaml') }}-${{ steps.date.outputs.time }}