Skip to content

Commit

Permalink
ci: fix enabling of source repositories in deb822 format
Browse files Browse the repository at this point in the history
Ubuntu Noble started shipping repositories in the deb822 format which
(ATTOW) doesn't work with `add-apt-repository --enable-source`. Let's
edit the repo files manually to mitigate this for the time being.
  • Loading branch information
mrc0mmand committed Jun 6, 2024
1 parent 69fd61a commit b686488
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Install dependencies
if: ${{ matrix.language == 'c-cpp' }}
run: |
sudo add-apt-repository -y --no-update --enable-source
sudo sed -i 's/^Types: deb/Types: deb deb-src/g' /etc/apt/sources.list.d/*.sources
sudo apt update
sudo apt build-dep -y policykit-1
# polkit in Ubuntu Jammy (ATTOW) doesn't have the latest build dependencies yet
Expand Down

0 comments on commit b686488

Please sign in to comment.