ci: scons save condition was flipped

pull/22879/head
Willem Melching 4 years ago
parent d98c73adb4
commit 579994ced9
  1. 2
      .github/workflows/selfdrive_tests.yaml

@ -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 }}

Loading…
Cancel
Save