[CI] Improve packaging workflow
Include arch in artifacts so they can be downloaded separately Added libtorrent 2.0 to matrix since users often request latest libtorrent. Renamed workflow to make it's purpose clearer
This commit is contained in:
parent
1a9affbbac
commit
d62362d6ae
|
@ -1,4 +1,4 @@
|
||||||
name: CD
|
name: Package
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
@ -14,14 +14,14 @@ on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Build:
|
windows_package:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
if: (github.event_name != 'pull_request' || github.event.label.name == 'windows')
|
if: (github.event_name != 'pull_request' || github.event.label.name == 'windows')
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
arch: [x64, x86]
|
arch: [x64, x86]
|
||||||
python: [3.9]
|
python: [3.9]
|
||||||
libtorrent: [1.2.15]
|
libtorrent: [2.0.5, 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
|
||||||
|
@ -85,5 +85,5 @@ jobs:
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: deluge-py${{matrix.python}}-lt${{matrix.libtorrent}}
|
name: deluge-py${{ matrix.python }}-lt${{ matrix.libtorrent }}-${{ matrix.arch }}
|
||||||
path: packaging/win/*.exe
|
path: packaging/win/*.exe
|
||||||
|
|
Loading…
Reference in New Issue