diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0ffad19a1fe..fdf8559c739 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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