Skip to content

Commit

Permalink
Run sed with sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
reachfh committed Aug 24, 2023
1 parent cae78f6 commit 34123f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 34123f9

Please sign in to comment.