From d62362d6ae158b62758f63409a3caa1e334c567e Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Thu, 20 Jan 2022 15:31:15 +0000 Subject: [PATCH] [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 --- .github/workflows/cd.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index a029bae49..d1971fbf6 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -1,4 +1,4 @@ -name: CD +name: Package on: push: @@ -14,14 +14,14 @@ on: workflow_dispatch: jobs: - Build: + windows_package: runs-on: windows-latest if: (github.event_name != 'pull_request' || github.event.label.name == 'windows') strategy: matrix: arch: [x64, x86] python: [3.9] - libtorrent: [1.2.15] + libtorrent: [2.0.5, 1.2.15] steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it @@ -85,5 +85,5 @@ jobs: - uses: actions/upload-artifact@v2 with: - name: deluge-py${{matrix.python}}-lt${{matrix.libtorrent}} + name: deluge-py${{ matrix.python }}-lt${{ matrix.libtorrent }}-${{ matrix.arch }} path: packaging/win/*.exe