Skip to content

Commit

Permalink
Fix GitHub Actions CI
Browse files Browse the repository at this point in the history
Microsoft apt repos break apt-get update for several days at every update, and there is no plan to fix these. 
As we are not using the repos, the best course of action is just to remove them. 

See: 
* actions/runner-images#323
* dotnet/core#4167
  • Loading branch information
traversaro authored Jan 25, 2020
1 parent 568efac commit bfc6cda
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ jobs:
- name: Environment Variables
shell: bash
run: env

# Remove apt repos that are known to break from time to time
# See https://github.com/actions/virtual-environments/issues/323
- name: Remove broken apt repos [Ubuntu]
if: matrix.os == 'ubuntu-latest'
run: |
for apt_file in `grep -lr microsoft /etc/apt/sources.list.d/`; do sudo rm $apt_file; done
# ============
# DEPENDENCIES
Expand Down

0 comments on commit bfc6cda

Please sign in to comment.