From 34123f904dc97c74f6af523ff48ae3989df31747 Mon Sep 17 00:00:00 2001 From: Jake Morrison Date: Wed, 23 Aug 2023 22:37:42 -0500 Subject: [PATCH] Run sed with sudo --- .github/workflows/build-all.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-all.yml b/.github/workflows/build-all.yml index 723ea08..e43098d 100644 --- a/.github/workflows/build-all.yml +++ b/.github/workflows/build-all.yml @@ -44,9 +44,9 @@ jobs: - name: Enable apt-src run: | - sed -i 's/^# deb-src/deb-src/' /etc/apt/sources.list - sed -i 's/^# deb-src/deb-src/' /etc/apt/sources.list.d/microsoft-prod.list - sed -i 's/^# deb-src/deb-src/' /etc/apt/sources.list.d/ubuntu-toolchain-r-ubuntu-test-jammy.list + sudo sed -i 's/^# deb-src/deb-src/' /etc/apt/sources.list + sudo sed -i 's/^# deb-src/deb-src/' /etc/apt/sources.list.d/microsoft-prod.list + sudo sed -i 's/^# deb-src/deb-src/' /etc/apt/sources.list.d/ubuntu-toolchain-r-ubuntu-test-jammy.list - name: Debug apt sources run: |