diff options
author | Calum Lind <calumlind+deluge@gmail.com> | 2022-02-08 20:29:38 +0100 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2022-02-09 20:53:17 +0100 |
commit | d4f8775f442f782b04b08f515026d64811eb185a (patch) | |
tree | 31e00dd5d2f5b1a96f35202cc6bb9c269f1920a4 /.github/workflows/cd.yml | |
parent | [CI] Replace custom twisted package with pre-release (diff) | |
download | deluge-d4f8775f442f782b04b08f515026d64811eb185a.tar.xz deluge-d4f8775f442f782b04b08f515026d64811eb185a.zip |
[CI] Use working dir to shorten commands
Making the workflows more readable
Diffstat (limited to '.github/workflows/cd.yml')
-rw-r--r-- | .github/workflows/cd.yml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 9c6ce2d9d..2dbd07b61 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -87,14 +87,16 @@ jobs: python setup.py install_scripts - name: Freeze Deluge + working-directory: packaging/win run: | - pyinstaller --clean $env:GITHUB_WORKSPACE\packaging\win\delugewin.spec --distpath $env:GITHUB_WORKSPACE\packaging\win\freeze + pyinstaller --clean delugewin.spec --distpath freeze - - name: Fix OpenSSL For Libtorrent + - name: Fix OpenSSL for libtorrent x64 if: ${{ matrix.arch == 'x64' }} + working-directory: packaging/win/freeze/Deluge run: | - Copy-Item -Path $env:GITHUB_WORKSPACE\packaging\win\freeze\Deluge\libssl-1_1.dll -Destination $env:GITHUB_WORKSPACE\packaging\win\freeze\Deluge\libssl-1_1-x64.dll - Copy-Item -Path $env:GITHUB_WORKSPACE\packaging\win\freeze\Deluge\libcrypto-1_1.dll -Destination $env:GITHUB_WORKSPACE\packaging\win\freeze\Deluge\libcrypto-1_1-x64.dll + cp libssl-1_1.dll libssl-1_1-x64.dll + cp libcrypto-1_1.dll libcrypto-1_1-x64.dll - name: Make Deluge Installer working-directory: ./packaging/win |