From fac145167f7ec1861233c54de0c8900b09c650fe Mon Sep 17 00:00:00 2001 From: Aloxaf Yin Date: Thu, 18 Sep 2025 10:02:25 +0800 Subject: [PATCH] ci: fix apt error --- .github/workflows/zsh.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/zsh.yaml b/.github/workflows/zsh.yaml index e4117cf..72ece23 100644 --- a/.github/workflows/zsh.yaml +++ b/.github/workflows/zsh.yaml @@ -31,6 +31,14 @@ jobs: with: fetch-depth: 1 + # https://github.com/actions/runner-images/issues/12627 + - name: update sources + run: | + rm /etc/apt/sources.list + echo 'deb http://archive.debian.org/debian buster main contrib non-free' >> /etc/apt/sources.list + echo 'deb http://archive.debian.org/debian buster-updates main contrib non-free' >> /etc/apt/sources.list + echo 'deb http://archive.debian.org/debian-security buster/updates main contrib non-free' >> /etc/apt/sources.list + - name: install dependencies run: apt update && apt-get install -y git curl build-essential autoconf libncurses-dev @@ -42,4 +50,3 @@ jobs: - name: test binary module run: cd test && zsh -f runtests.zsh fzftab.ztst -