diff --git a/.github/workflows/build_artifacts.yaml b/.github/workflows/build_artifacts.yaml index d20778e..950ed6d 100644 --- a/.github/workflows/build_artifacts.yaml +++ b/.github/workflows/build_artifacts.yaml @@ -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