Skip to content
This repository was archived by the owner on Jun 8, 2024. It is now read-only.

Commit 26c45bc

Browse files
committed
ok, so, torrents are incomplete
1 parent 794bdd2 commit 26c45bc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build-kernel-modules.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717

1818
env:
1919
APT_DEPS: aria2
20-
DOWNLOAD_FROM_TORRENT: true
20+
DOWNLOAD_FROM_TORRENT: false
2121

2222
jobs:
2323
prepare-build:
@@ -123,12 +123,12 @@ jobs:
123123
key: ${{ fromJSON(steps.get-firmware-metadata.outputs.json).kernel-archive-path-base64 }}
124124

125125
- 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'
127127
run: |
128128
curl -Lo ./linux-unifios.tar.gz "${{ steps.archive-data.outputs.firmware-http-url }}"
129129
130130
- 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'
132132
run: |
133133
wget -O archive.torrent "${{ steps.archive-data.outputs.archive-torrent-url }}"
134134
FILE_INDEX="$(aria2c -d . -S archive.torrent \

0 commit comments

Comments
 (0)