File tree 1 file changed +1
-5
lines changed
1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -55,17 +55,13 @@ jobs:
55
55
sudo echo "deb [arch=${{ matrix.arch.os }}] http://ports.ubuntu.com/ $(lsb_release -sc)-backports main multiverse universe" | sudo tee -a /etc/apt/sources.list
56
56
echo "remove archive ubuntu for ports";
57
57
sudo sed -ibak '/\/archive.ubuntu.com/d' /etc/apt/sources.list;
58
- echo "remove security ubuntu from apt mirrors";
59
- sudo sed -ibak '/\/security.ubuntu.com/d' /etc/apt/apt-mirrors.txt;
60
- echo "remove archive ubuntu from apt mirrors";
61
- sudo sed -ibak '/\/archive.ubuntu.com/d' /etc/apt/apt-mirrors.txt;
62
58
fi
63
59
64
60
# This limits apt to only looking or amd64 and i386 from Azure, see https://github.com/actions/virtual-environments/issues/1961
65
61
sudo sed -i'' -E 's/^deb http:\/\/(azure.archive|security).ubuntu.com/deb [arch=amd64,i386] http:\/\/\1.ubuntu.com/' /etc/apt/sources.list
66
62
67
63
sudo dpkg --add-architecture "${{ matrix.arch.os }}"
68
- sudo apt-get update
64
+ sudo apt-get update || true
69
65
sudo apt-get install -y \
70
66
"${GPP_PACKAGE}" \
71
67
"libx11-dev:${{ matrix.arch.os }}" \
You canโt perform that action at this time.
0 commit comments