Cache pip packages

This commit is contained in:
Djuri Baars 2024-06-09 15:07:00 +02:00
parent 81db6733e5
commit 92eb9c7145

View file

@ -25,9 +25,18 @@ jobs:
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Cache pip packages
id: pip-cache
uses: actions/cache@v4
with:
path: /tmp/.cachepip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Run Docker Container
run: |
docker run --rm \
--volume "/tmp/.cachepip/wine/drive_c/users/root/appdata/local/pip/cache" \
--volume "${{ github.workspace }}:/src/" \
batonogov/pyinstaller-windows:latest
- name: Archive artifacts