Skip to content

Commit c41465e

Browse files
committed
Bypass errors for updating
1 parent 1faf1e8 commit c41465e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

โ€Ž.github/workflows/build-clipboard.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,13 @@ jobs:
5555
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
5656
echo "remove archive ubuntu for ports";
5757
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;
6258
fi
6359
6460
# This limits apt to only looking or amd64 and i386 from Azure, see https://github.com/actions/virtual-environments/issues/1961
6561
sudo sed -i'' -E 's/^deb http:\/\/(azure.archive|security).ubuntu.com/deb [arch=amd64,i386] http:\/\/\1.ubuntu.com/' /etc/apt/sources.list
6662
6763
sudo dpkg --add-architecture "${{ matrix.arch.os }}"
68-
sudo apt-get update
64+
sudo apt-get update || true
6965
sudo apt-get install -y \
7066
"${GPP_PACKAGE}" \
7167
"libx11-dev:${{ matrix.arch.os }}" \

0 commit comments

Comments
ย (0)