Missed some python restore-keys
@@ -240,8 +240,10 @@ jobs:
# !virtualenv/lib/python*/site-packages/st2*
# !virtualenv/bin/st2*
key: ${{ runner.os }}-v4-python-${{ matrix.python-version }}-${{ hashFiles('requirements.txt', 'test-requirements.txt') }}
- restore-keys: |
- ${{ runner.os }}-v4-python-${{ matrix.python }}-
+ # Don't use alternative key as if requirements.txt has altered we
+ # don't want to retrieve previous cache
+ #restore-keys: |
+ # ${{ runner.os }}-v4-python-${{ matrix.python }}-
- name: Cache APT Dependencies
id: cache-apt-deps
uses: actions/cache@v2
@@ -456,8 +458,10 @@ jobs:
# !virtualenv/lib/python*/site-packages/st2*
# !virtualenv/bin/st2*
key: ${{ runner.os }}-v4-python-${{ matrix.python-version }}-${{ hashFiles('requirements.txt', 'test-requirements.txt') }}
- restore-keys: |
- ${{ runner.os }}-v4-python-${{ matrix.python }}-
+ # Don't use alternative key as if requirements.txt has altered we
+ # don't want to retrieve previous cache
+ #restore-keys: |
+ # ${{ runner.os }}-v4-python-${{ matrix.python }}-
- name: Cache APT Dependencies
id: cache-apt-deps
uses: actions/cache@v2
