From 3b8d2e8ef7de5d0f10a7cdfdab7f8a59a89faa51 Mon Sep 17 00:00:00 2001 From: Dan Rose Date: Thu, 2 Apr 2020 09:30:28 -0500 Subject: [PATCH] Add backup apt sources (#134) --- .github/workflows/CI.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 69cffb7..486959c 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -16,6 +16,9 @@ jobs: os: windows-latest runs-on: ${{ matrix.os }} steps: + - if: runner.os == 'Linux' + # azure ubuntu repo can be flaky so add an alternate source + run: sed -e 's/azure.archive.ubuntu.com/us.archive.ubuntu.com/g' -e t -e d /etc/apt/sources.list | sudo tee /etc/apt/sources.list.d/nonazure.list - name: Acquire ROS dependencies uses: ros-tooling/setup-ros@0.0.15 - name: Build and test ROS