Skip to content

Commit

Permalink
Select alternative apt mirror to get around the unstable original one
Browse files Browse the repository at this point in the history
  • Loading branch information
rake5k committed Jun 15, 2023
1 parent 76866db commit 4eef28c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,11 @@ runs:
if [[ ${{ inputs.large-packages }} == 'true' ]]; then
BEFORE=$(getAvailableSpace)
# Select alternative apt mirror since the original one is unstable
sudo gem install apt-spy2
sudo apt-spy2 fix --commit --launchpad --country=US
sudo apt-get update
sudo apt-get remove -y '^dotnet-.*'
sudo apt-get remove -y '^llvm-.*'
sudo apt-get remove -y 'php.*'
Expand Down

0 comments on commit 4eef28c

Please sign in to comment.