github: Update prebuilt job to use new download location

This commit is contained in:
Johan Gunnarsson 2022-10-01 19:42:57 +02:00
parent 6f491eb425
commit 8495dafbb7
1 changed files with 13 additions and 3 deletions

View File

@ -15,25 +15,34 @@ jobs:
# Debian armhf # Debian armhf
- boot: boot-qemu_arm_virt - boot: boot-qemu_arm_virt
debian: debian-bullseye-armhf debian: debian-bullseye-armhf
debian_index: /index-debians-armhf.txt
- boot: boot-qemu_arm_virt - boot: boot-qemu_arm_virt
debian: debian-bookworm-armhf debian: debian-bookworm-armhf
debian_index: /index-debians-armhf.txt
- boot: boot-qemu_arm_virt - boot: boot-qemu_arm_virt
debian: debian-sid-armhf debian: debian-sid-armhf
debian_index: /index-debians-armhf.txt
# Debian arm64 # Debian arm64
- boot: boot-qemu_aarch64_virt - boot: boot-qemu_aarch64_virt
debian: debian-bullseye-arm64 debian: debian-bullseye-arm64
debian_index: /index-debians-arm64.txt
- boot: boot-qemu_aarch64_virt - boot: boot-qemu_aarch64_virt
debian: debian-bookworm-arm64 debian: debian-bookworm-arm64
debian_index: /index-debians-arm64.txt
- boot: boot-qemu_aarch64_virt - boot: boot-qemu_aarch64_virt
debian: debian-sid-arm64 debian: debian-sid-arm64
debian_index: /index-debians-arm64.txt
# Ubuntu arm64 # Ubuntu arm64
- boot: boot-qemu_aarch64_virt - boot: boot-qemu_aarch64_virt
debian: ubuntu-jammy-arm64 debian: ubuntu-jammy-arm64
debian_index: /index-debians-arm64.txt
fail-fast: false fail-fast: false
env: env:
BOOT: ${{ matrix.boot }} BOOT: ${{ matrix.boot }}
BOOT_INDEX: /index-boots.txt
DEBIAN: ${{ matrix.debian }} DEBIAN: ${{ matrix.debian }}
DEBIAN_INDEX: ${{ matrix.debian_index }}
steps: steps:
- name: Install dependencies - name: Install dependencies
@ -57,10 +66,11 @@ jobs:
- name: Download - name: Download
timeout-minutes: 1 timeout-minutes: 1
env: env:
BASE: https://ftp.sd-card-images.johang.se CDN_BASE: https://cdn.sd-card-images.johang.se
DL_BASE: https://dl.sd-card-images.johang.se
run: | run: |
wget $BASE/$(wget -O - $BASE/latest.txt | grep $BOOT || echo 404) wget $DL_BASE$(wget -O - $CDN_BASE$BOOT_INDEX | grep $BOOT || echo /404)
wget $BASE/$(wget -O - $BASE/latest.txt | grep $DEBIAN || echo 404) wget $DL_BASE$(wget -O - $CDN_BASE$DEBIAN_INDEX | grep $DEBIAN || echo /404)
- name: Test - name: Test
timeout-minutes: 5 timeout-minutes: 5