Skip to content

Commit

Permalink
ci: apply workaround on correct workflow
Browse files Browse the repository at this point in the history
Signed-off-by: MichaIng <[email protected]>
  • Loading branch information
MichaIng committed May 29, 2024
1 parent ca0d5fe commit 80ee4c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ jobs:
if: matrix.dist == 'ubuntu-24.04'
run: |
# https://github.com/actions/runner-images/pull/9956
# ERROR: Cannot uninstall pip 24.0, RECORD file not found. Hint: The package was installed by debian.
sudo apt-get autopurge needrestart python3-pip python3-setuptools python3-wheel
sudo apt-get autopurge needrestart
# error: externally-managed-environment
echo -e '[global]\nbreak-system-packages=true' | sudo tee /etc/pip.conf
- run: sudo apt-get -q update
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ubuntu_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ jobs:
if: matrix.dist == 'ubuntu-24.04'
run: |
# https://github.com/actions/runner-images/pull/9956
sudo apt-get autopurge needrestart
# ERROR: Cannot uninstall pip 24.0, RECORD file not found. Hint: The package was installed by debian.
sudo apt-get autopurge needrestart python3-pip python3-setuptools python3-wheel
# error: externally-managed-environment
echo -e '[global]\nbreak-system-packages=true' | sudo tee /etc/pip.conf
- run: sudo apt-get -q update
Expand Down

0 comments on commit 80ee4c2

Please sign in to comment.