Skip to content

Commit

Permalink
Merge pull request #3268 from boegel/aptspy
Browse files Browse the repository at this point in the history
use apt-spy2 before using apt in GitHub Actions
  • Loading branch information
lexming authored Apr 6, 2020
2 parents 92302c0 + b6d0441 commit 3882def
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,14 @@ jobs:

- name: install OS & Python packages
run: |
# use apt-spy2 to select closest apt mirror,
# which helps avoid connectivity issues in Azure;
# see https://github.com/actions/virtual-environments/issues/675
sudo gem install apt-spy2
sudo apt-spy2 check
sudo apt-spy2 fix --commit
# after selecting a specific mirror, we need to run 'apt-get update'
sudo apt-get update
# for modules tool
sudo apt-get install lua5.2 liblua5.2-dev lua-filesystem lua-posix tcl tcl-dev
# fix for lua-posix packaging issue, see https://bugs.launchpad.net/ubuntu/+source/lua-posix/+bug/1752082
Expand Down

0 comments on commit 3882def

Please sign in to comment.