diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-07-20 10:30:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-20 10:30:13 +0200 |
commit | 862c877f43cc5e29c5b48f70d74f90f8b93214bb (patch) | |
tree | 31482a7d26c668fffa0b747fa4fbf00f3b28a4c6 /.github/workflows | |
parent | 9e34ba48556b71f1f672b5be47d12b0e3f679b86 (diff) | |
parent | d560f654ffd855eb3ad66ad56e1327ffdedea938 (diff) |
Merge pull request #40510 from RevoluPowered/fix-github-linux-builds
fix github actions source repository down for linux [urgent]
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/main.yml | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index da597a9706..b93d8e1a76 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -87,7 +87,7 @@ jobs: ${{runner.os}}-template ${{runner.os}} - # Use python 3.x release (works cross platform) + # Use python 3.x release (works cross platform) - name: Set up Python 3.x uses: actions/setup-python@v2 with: @@ -216,7 +216,13 @@ jobs: steps: - uses: actions/checkout@v2 - # install all packages (except scons) + # Azure repositories are not reliable, we need to prevent azure giving us packages. + - name: Make apt sources.list use the default Ubuntu repositories + run: | + sudo cp -f misc/scripts/sources.list /etc/apt/sources.list + sudo apt-get update + + # Install all packages (except scons) - name: Configure dependencies run: | sudo apt-get install build-essential pkg-config libx11-dev libxcursor-dev \ @@ -267,7 +273,13 @@ jobs: steps: - uses: actions/checkout@v2 - # install all packages (except scons) + # Azure repositories are not reliable, we need to prevent azure giving us packages. + - name: Make apt sources.list use the default Ubuntu repositories + run: | + sudo cp -f misc/scripts/sources.list /etc/apt/sources.list + sudo apt-get update + + # Install all packages (except scons) - name: Configure dependencies run: | sudo apt-get install build-essential pkg-config libx11-dev libxcursor-dev \ @@ -287,7 +299,7 @@ jobs: ${{runner.os}}-template ${{runner.os}} - # Use python 3.x release (works cross platform) + # Use python 3.x release (works cross platform) - name: Set up Python 3.x uses: actions/setup-python@v2 with: |