Skip to content

Commit cc26a8d

Browse files
committed
fix
1 parent d54ae8b commit cc26a8d

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/fetch_runner_images.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,27 @@ on:
66
workflow_dispatch:
77
schedule:
88
# - cron: "0 */8 * * *" # Every 8 HRs
9+
- cron: "30 07 * * 3" # 07:30 PM UTC Wed (01:15 AM NPT Thu Midnight)
910
- cron: "30 08 * * 3" # 08:30 PM UTC Wed (02:15 AM NPT Thu Midnight)
1011
jobs:
1112
fetch:
12-
runs-on: ubuntu-latest
13+
runs-on: "${{ matrix.runner }}"
1314
timeout-minutes: 20
1415
permissions:
1516
contents: write
1617
strategy:
18+
fail-fast: false
1719
matrix:
1820
include:
1921
- image: "aarch64-Linux"
2022
arch: "aarch64"
2123
file: "/tmp/runner.tar.gz"
24+
runner: "ubuntu-24.04-arm"
2225

2326
- image: "x86_64-Linux"
2427
arch: "aarch64"
2528
file: "/tmp/runner.tar.gz"
29+
runner: "ubuntu-latest"
2630

2731
steps:
2832
- name: Setup Env [${{ matrix.image }}]
@@ -41,8 +45,8 @@ jobs:
4145
echo "CONTINUE_GHRUN=FALSE" >> "${GITHUB_ENV}"
4246
exit 1
4347
fi
44-
sudo apt-fast install apt-transport-https apt-utils bc ca-certificates coreutils curl dos2unix fdupes git-lfs gnupg2 \
45-
jq moreutils p7zip-full rename rsync software-properties-common texinfo tmux torsocks util-linux wget zsync -y -qq 2>/dev/null
48+
BASE_PKGS=(apt-transport-https apt-utils bc ca-certificates b3sum coreutils curl dos2unix fdupes git-lfs gnupg2 jq moreutils p7zip-full rename rsync software-properties-common texinfo tmux util-linux wget zsync)
49+
for pkg in "${BASE_PKGS[@]}"; do sudo DEBIAN_FRONTEND="noninteractive" apt-fast install -f "${pkg}" -y --ignore-missing 2>/dev/null; done
4650
sudo apt-fast update -y -qq 2>/dev/null
4751
##tmp
4852
SYSTMP="$(dirname $(mktemp -u))" && export SYSTMP="${SYSTMP}"

0 commit comments

Comments
 (0)