From 8249af3d0ca9cd1dedc6aafa13e573979219d6d9 Mon Sep 17 00:00:00 2001 From: EFS Date: Sat, 20 Apr 2024 14:49:24 +0200 Subject: [PATCH] CI: fix workflow --- .github/workflows/build.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index aad04f5..df4c460 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -39,6 +39,8 @@ jobs: PGID: 1000 TZ: Europe/London WEBUI_PORT: 8080 + volumes: + - /tmp/qbittorrent-latest/config:/config ports: - 8080:8080 - 20000:6881 @@ -114,13 +116,12 @@ jobs: fail-fast: false matrix: python-version: [ - "2.7", - "3.5", - "3.6", "3.7", "3.8", "3.9", - "3.10" + "3.10", + "3.11", + "3.12" ] steps: @@ -155,6 +156,11 @@ jobs: run: | echo "DELUGE_2_PASSWORD=$(sudo cat /tmp/deluge-latest/config/auth | sed 's/.*:\(.*\):.*/\1/g')" >> $GITHUB_ENV echo "DELUGE_1_PASSWORD=$(sudo cat /tmp/deluge-1/config/auth | sed 's/.*:\(.*\):.*/\1/g')" >> $GITHUB_ENV + - name: Setup passwords of qBittorrent latest + run: | + docker stop ${{ job.services.qbittorrent-latest.id }} + echo 'WebUI\Password_PBKDF2="@ByteArray(+BwJe86psDlDzA5u7ebg9Q==:yZeQKzvuRW/Mn+qL0FS8Nt91A53x5Ow8YGNOq0KusmleU9xn60RWx9kDXKOEqIe+eJX5bQ9UJ4GgR16UWprRSw==)"' | sudo tee -a /tmp/qbittorrent-latest/config/qBittorrent/qBittorrent.conf + docker start ${{ job.services.qbittorrent-latest.id }} - name: Sleep for a while run: | sleep $((10 + $RANDOM % 50))