mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-07 08:58:38 +00:00
[CD] Cleanup pip cache in Win builds
- Use the more reliable setup-python cache - Move the pip install to GTK install step for consistency - Don't update pip to ensure consistent version
This commit is contained in:
parent
ae3fbcca77
commit
f1ec68704d
1 changed files with 3 additions and 13 deletions
16
.github/workflows/cd.yml
vendored
16
.github/workflows/cd.yml
vendored
|
@ -46,19 +46,10 @@ jobs:
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python}}
|
python-version: ${{ matrix.python}}
|
||||||
architecture: ${{ matrix.arch }}
|
architecture: ${{ matrix.arch }}
|
||||||
|
cache: pip
|
||||||
- name: Cache pip
|
|
||||||
uses: actions/cache@v3
|
|
||||||
with:
|
|
||||||
path: '%LOCALAPPDATA%\pip\Cache'
|
|
||||||
# Look to see if there is a cache hit for the corresponding requirements file
|
|
||||||
key: ${{ runner.os }}-pip-${{ hashFiles('tox.ini', 'setup.py', 'requirements*.txt') }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-pip-
|
|
||||||
${{ runner.os }}-
|
|
||||||
|
|
||||||
- name: Prepare pip
|
- name: Prepare pip
|
||||||
run: python -m pip install --upgrade pip wheel
|
run: python -m pip install wheel
|
||||||
|
|
||||||
- name: Install GTK
|
- name: Install GTK
|
||||||
run: |
|
run: |
|
||||||
|
@ -68,11 +59,10 @@ jobs:
|
||||||
echo "C:\GTK\release\lib" | Out-File -FilePath $env:GITHUB_PATH -Append
|
echo "C:\GTK\release\lib" | Out-File -FilePath $env:GITHUB_PATH -Append
|
||||||
echo "C:\GTK\release\bin" | Out-File -FilePath $env:GITHUB_PATH -Append
|
echo "C:\GTK\release\bin" | Out-File -FilePath $env:GITHUB_PATH -Append
|
||||||
echo "C:\GTK\release" | Out-File -FilePath $env:GITHUB_PATH -Append
|
echo "C:\GTK\release" | Out-File -FilePath $env:GITHUB_PATH -Append
|
||||||
|
python -m pip install --no-index --find-links="C:\GTK\release\python" pycairo PyGObject
|
||||||
|
|
||||||
- name: Install Python dependencies
|
- name: Install Python dependencies
|
||||||
run: >
|
run: >
|
||||||
python -m pip install --no-index --find-links="C:\GTK\release\python" pycairo PyGObject
|
|
||||||
|
|
||||||
python -m pip install
|
python -m pip install
|
||||||
twisted[tls]==22.4.0
|
twisted[tls]==22.4.0
|
||||||
libtorrent==${{ matrix.libtorrent }}
|
libtorrent==${{ matrix.libtorrent }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue