This repository was archived by the owner on Jun 8, 2024. It is now read-only.
Commit 26c45bc 1 parent 794bdd2 commit 26c45bc Copy full SHA for 26c45bc
File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 17
17
18
18
env :
19
19
APT_DEPS : aria2
20
- DOWNLOAD_FROM_TORRENT : true
20
+ DOWNLOAD_FROM_TORRENT : false
21
21
22
22
jobs :
23
23
prepare-build :
@@ -123,12 +123,12 @@ jobs:
123
123
key : ${{ fromJSON(steps.get-firmware-metadata.outputs.json).kernel-archive-path-base64 }}
124
124
125
125
- name : Download kernel archive if required (http)
126
- if : steps.cache-kernel-archive.outputs.cache-hit != 'true' && ! env.DOWNLOAD_FROM_TORRENT
126
+ if : steps.cache-kernel-archive.outputs.cache-hit != 'true' && env.DOWNLOAD_FROM_TORRENT != 'true'
127
127
run : |
128
128
curl -Lo ./linux-unifios.tar.gz "${{ steps.archive-data.outputs.firmware-http-url }}"
129
129
130
130
- name : Download kernel archive if required (torrent)
131
- if : steps.cache-kernel-archive.outputs.cache-hit != 'true' && env.DOWNLOAD_FROM_TORRENT
131
+ if : steps.cache-kernel-archive.outputs.cache-hit != 'true' && env.DOWNLOAD_FROM_TORRENT == 'true'
132
132
run : |
133
133
wget -O archive.torrent "${{ steps.archive-data.outputs.archive-torrent-url }}"
134
134
FILE_INDEX="$(aria2c -d . -S archive.torrent \
You can’t perform that action at this time.
0 commit comments