Skip to content

Commit

Permalink
Bypass errors for updating
Browse files Browse the repository at this point in the history
  • Loading branch information
Slackadays committed Oct 1, 2023
1 parent 1faf1e8 commit c41465e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/build-clipboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,17 +55,13 @@ jobs:
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
echo "remove archive ubuntu for ports";
sudo sed -ibak '/\/archive.ubuntu.com/d' /etc/apt/sources.list;
echo "remove security ubuntu from apt mirrors";
sudo sed -ibak '/\/security.ubuntu.com/d' /etc/apt/apt-mirrors.txt;
echo "remove archive ubuntu from apt mirrors";
sudo sed -ibak '/\/archive.ubuntu.com/d' /etc/apt/apt-mirrors.txt;
fi
# This limits apt to only looking or amd64 and i386 from Azure, see https://github.com/actions/virtual-environments/issues/1961
sudo sed -i'' -E 's/^deb http:\/\/(azure.archive|security).ubuntu.com/deb [arch=amd64,i386] http:\/\/\1.ubuntu.com/' /etc/apt/sources.list
sudo dpkg --add-architecture "${{ matrix.arch.os }}"
sudo apt-get update
sudo apt-get update || true
sudo apt-get install -y \
"${GPP_PACKAGE}" \
"libx11-dev:${{ matrix.arch.os }}" \
Expand Down

0 comments on commit c41465e

Please sign in to comment.