Skip to content

Commit

Permalink
CI: fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
amefs authored and jerrymakesjelly committed Apr 26, 2024
1 parent f87c821 commit 1f46f12
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ jobs:
PGID: 1000
TZ: Europe/London
WEBUI_PORT: 8080
volumes:
- /tmp/qbittorrent-latest/config:/config
ports:
- 8080:8080
- 20000:6881
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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))
Expand Down

0 comments on commit 1f46f12

Please sign in to comment.