From ff710cfe9685280104b9e9aa96fa3dd20388a4b7 Mon Sep 17 00:00:00 2001 From: Johan Gunnarsson Date: Sat, 8 Oct 2022 18:13:52 +0200 Subject: [PATCH] github: Fix prebuilt job --- .github/workflows/prebuilt.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/prebuilt.yml b/.github/workflows/prebuilt.yml index fb07ccb..759f984 100644 --- a/.github/workflows/prebuilt.yml +++ b/.github/workflows/prebuilt.yml @@ -69,8 +69,8 @@ jobs: CDN_BASE: https://cdn.sd-card-images.johang.se DL_BASE: https://dl.sd-card-images.johang.se run: | - wget $DL_BASE$(wget -O - $CDN_BASE$BOOT_INDEX | grep $BOOT || echo /404) - wget $DL_BASE$(wget -O - $CDN_BASE$DEBIAN_INDEX | grep $DEBIAN || echo /404) + wget $DL_BASE$(wget -O - $CDN_BASE$BOOT_INDEX | grep $BOOT | sort | tail -n 1 || echo /404) + wget $DL_BASE$(wget -O - $CDN_BASE$DEBIAN_INDEX | grep $DEBIAN | sort | tail -n 1 || echo /404) - name: Test timeout-minutes: 5