From 44a15b16ce4f4797b933c4aa0e2d36c1e4b42cfd Mon Sep 17 00:00:00 2001 From: Consolatis <35009135+Consolatis@users.noreply.github.com> Date: Mon, 6 Feb 2023 04:20:26 +0100 Subject: [PATCH] CI: adapt to new debian.sources format --- .github/workflows/build.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e1f71cf2..a8e7d528 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -72,8 +72,7 @@ jobs: - name: Install Debian Testing dependencies if: matrix.name == 'Debian' run: | - sed '/^deb/ s/^deb/deb-src/' /etc/apt/sources.list > /tmp/src - cat /tmp/src >> /etc/apt/sources.list + sed -i '/^Types/ s/deb/& deb-src/' /etc/apt/sources.list.d/debian.sources apt-get update apt-get upgrade -y apt-get install -y git clang \