[Packaging] Bump Win dependencies

* Update Twisted and libtorrent to latest releases
* Update to v3 github actions that now use node 16
This commit is contained in:
Calum Lind 2022-06-12 19:59:49 +01:00
commit 6a10e8f3cd
No known key found for this signature in database
GPG key ID: 90597A687B836BA3

View file

@ -24,31 +24,31 @@ jobs:
strategy: strategy:
matrix: matrix:
arch: [x64, x86] arch: [x64, x86]
python: [3.9] python: ["3.9"]
libtorrent: [2.0.5, 1.2.15] libtorrent: [2.0.6, 1.2.15]
steps: steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2 - uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
# Checkout Deluge source to subdir to enable packaging any tag/commit # Checkout Deluge source to subdir to enable packaging any tag/commit
- name: Checkout Deluge source - name: Checkout Deluge source
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
ref: ${{ github.event.inputs.ref }} ref: ${{ github.event.inputs.ref }}
fetch-depth: 0 fetch-depth: 0
path: deluge_src path: deluge_src
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: ${{ matrix.python}} python-version: ${{ matrix.python}}
architecture: ${{ matrix.arch }} architecture: ${{ matrix.arch }}
- name: Cache pip - name: Cache pip
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: '%LOCALAPPDATA%\pip\Cache' path: '%LOCALAPPDATA%\pip\Cache'
# Look to see if there is a cache hit for the corresponding requirements file # Look to see if there is a cache hit for the corresponding requirements file
@ -74,7 +74,7 @@ jobs:
python -m pip install --find-links="C:\GTK\release\python" pycairo PyGObject python -m pip install --find-links="C:\GTK\release\python" pycairo PyGObject
python -m pip install python -m pip install
twisted[tls]==22.2.0rc1 twisted[tls]==22.4.0
libtorrent==${{ matrix.libtorrent }} libtorrent==${{ matrix.libtorrent }}
pyinstaller pyinstaller
pygame pygame