Cache pip packages
This commit is contained in:
parent
81db6733e5
commit
92eb9c7145
1 changed files with 9 additions and 0 deletions
9
.github/workflows/build_artifacts.yaml
vendored
9
.github/workflows/build_artifacts.yaml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue