]> git.mdlowis.com Git - proto/labwc.git/commitdiff
CI: adapt to new debian.sources format
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Mon, 6 Feb 2023 03:20:26 +0000 (04:20 +0100)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Mon, 6 Feb 2023 03:39:52 +0000 (04:39 +0100)
.github/workflows/build.yml

index e1f71cf2293205a40bc13d994190efbd6e4ef786..a8e7d52869b4580b5a39af83197ee87c6ac62388 100644 (file)
@@ -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 \