File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed
Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -36,15 +36,22 @@ jobs:
3636 run : |
3737 python -m pip install -r eng/ci_tools.txt
3838
39- - name : Set VIRTUALENV_OVERRIDE_APP_DATA
39+ - name : Set persistent wheel cache path
4040 run : |
41- mkdir -p ${{ runner.temp }}/_virtualenv
42- echo "VIRTUALENV_OVERRIDE_APP_DATA=${{ runner.temp }}/_virtualenv" >> $GITHUB_ENV
41+ echo "VIRTUALENV_OVERRIDE_APP_DATA=${{ github.workspace }}/.venv_app_data" >> $GITHUB_ENV
42+
43+ - name : Cache virtualenv wheel data
44+ uses : actions/cache@v4
45+ with :
46+ path : .venv_app_data
47+ key : venv-app-data-${{ runner.os }}-${{ hashFiles('**/pyproject.toml') }}
48+ restore-keys : |
49+ venv-app-data-${{ runner.os }}-
4350
4451 - name : Populate the seed dir
4552 run : |
46- virtualenv --download --reset-app-data \
53+ virtualenv --download \
4754 --pip=24.0 \
4855 --setuptools=75.3.2 \
4956 --wheel=0.45.1 \
50- ${{ runner.temp }}/_virtualenv
57+ ${{ github.workspace }}/.venv_app_data
You can’t perform that action at this time.
0 commit comments