Skip to content

Commit

Permalink
Merge pull request godotengine#40510 from RevoluPowered/fix-github-li…
Browse files Browse the repository at this point in the history
…nux-builds

fix github actions source repository down for linux [urgent]
  • Loading branch information
akien-mga authored Jul 20, 2020
2 parents 9e34ba4 + d560f65 commit 862c877
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 \
Expand Down Expand Up @@ -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 \
Expand All @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions misc/scripts/sources.list
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
deb http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse

0 comments on commit 862c877

Please sign in to comment.