Skip to content

Commit 4994bea

Browse files
committed
keep building on buster for compatibility
1 parent 2f77796 commit 4994bea

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/cd.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
build-id: darwin+x86-64
6969
pkgs: gh
7070
- os: ubuntu-latest
71-
container: debian:bullseye-slim
71+
container: debian:buster-slim
7272
build-id: linux+x86-64
7373
pkgs: gh
7474
- os: macos-latest
@@ -89,6 +89,15 @@ jobs:
8989
with:
9090
name: srcs
9191

92+
# debian:buster is archived, so we need to fix its sources.list
93+
- name: fix debian:buster
94+
if: ${{ matrix.platform.container == 'debian:buster-slim' }}
95+
run: sed -i 's/deb.debian.org/archive.debian.org/g' /etc/apt/sources.list
96+
97+
- run: |
98+
apt-get update
99+
apt-get install curl gcc perl-modules openssl make xz-utils --yes
100+
92101
- uses: pkgxdev/setup@v4
93102
with:
94103
+: ${{ matrix.platform.pkgs }}

0 commit comments

Comments
 (0)