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 }}
|
key: ${{ runner.os }}-buildx-${{ github.sha }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-buildx-
|
${{ 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
|
- name: Run Docker Container
|
||||||
run: |
|
run: |
|
||||||
docker run --rm \
|
docker run --rm \
|
||||||
|
--volume "/tmp/.cachepip/wine/drive_c/users/root/appdata/local/pip/cache" \
|
||||||
--volume "${{ github.workspace }}:/src/" \
|
--volume "${{ github.workspace }}:/src/" \
|
||||||
batonogov/pyinstaller-windows:latest
|
batonogov/pyinstaller-windows:latest
|
||||||
- name: Archive artifacts
|
- name: Archive artifacts
|
||||||
|
|
Loading…
Reference in a new issue