fix locked files caching

This commit is contained in:
Simon 2024-05-21 22:20:47 +02:00
parent a201d43bfd
commit 87e3814751
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
2 changed files with 10 additions and 0 deletions

View File

@ -24,6 +24,11 @@ jobs:
key: ${{ runner.os }}-apt-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-apt-
before-save: |
sudo rm -f /var/cache/apt/archives/lock
sudo rm -f /var/lib/apt/lists/lock
sudo rm -rf /var/cache/apt/archives/partial
sudo rm -rf /var/lib/apt/lists/partial
- name: Install system dependencies
run: |

View File

@ -25,6 +25,11 @@ jobs:
key: ${{ runner.os }}-apt-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-apt-
before-save: |
sudo rm -f /var/cache/apt/archives/lock
sudo rm -f /var/lib/apt/lists/lock
sudo rm -rf /var/cache/apt/archives/partial
sudo rm -rf /var/lib/apt/lists/partial
- name: Install system dependencies
run: |