aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2022-08-07 18:21:44 +0200
committerChristian Marangi <ansuelsmth@gmail.com>2022-12-04 17:36:53 +0100
commitf7affcd614cc19030f89932c0b51538e44384739 (patch)
treed82d1443c623998cd2cf21170d5f6e5e9dc2e97c /.github
parent0f71cf7ab621b18c5d87b65608c814ae4b3c7cc0 (diff)
downloadupstream-f7affcd614cc19030f89932c0b51538e44384739.tar.gz
upstream-f7affcd614cc19030f89932c0b51538e44384739.tar.bz2
upstream-f7affcd614cc19030f89932c0b51538e44384739.zip
CI: kernel: Use downloads.cdn.openwrt.org
Use downloads.cdn.openwrt.org to download the toolchain. This should reduce the load on the servers. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit 7b4daf00766620faac8212b46259064ca6e2c716)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/kernel.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/kernel.yml b/.github/workflows/kernel.yml
index bffa1f04b8..108edf2460 100644
--- a/.github/workflows/kernel.yml
+++ b/.github/workflows/kernel.yml
@@ -78,7 +78,7 @@ jobs:
- name: Parse toolchain file
working-directory: openwrt
run: |
- TOOLCHAIN_FILE=$(curl "https://downloads.openwrt.org/snapshots/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/sha256sums" \
+ TOOLCHAIN_FILE=$(curl "https://downloads.cdn.openwrt.org/snapshots/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/sha256sums" \
| sed -n -e 's/.*\(openwrt-toolchain.*\).tar.xz/\1/p')
echo "TOOLCHAIN_FILE=$TOOLCHAIN_FILE" >> "$GITHUB_ENV"
@@ -87,7 +87,7 @@ jobs:
shell: su buildbot -c "sh -e {0}"
working-directory: openwrt
run: |
- wget -O - https://downloads.openwrt.org/snapshots/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${TOOLCHAIN_FILE}.tar.xz \
+ wget -O - https://downloads.cdn.openwrt.org/snapshots/targets/${{ env.TARGET }}/${{ env.SUBTARGET }}/${TOOLCHAIN_FILE}.tar.xz \
| tar --xz -xf -
- name: Configure external toolchain