Ignore apt-get 404 errors that were breaking CI for Ruby < 2.3 (#2124)

This commit is contained in:
Matt Brictson 2023-03-25 14:33:48 -07:00 committed by GitHub
parent dd947706ca
commit f1ad06f42a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -39,8 +39,8 @@ commands:
name: Install OpenSSH 8.1p1 if necessary
command: |
if $(ssh -V 2>&1 | grep -q -v OpenSSH_8); then
apt-get update
apt-get install -y --force-yes libssl-dev
apt-get update || true
apt-get install -y --force-yes libssl-dev || true
mkdir ~/tempdownload
cd ~/tempdownload
wget https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-8.1p1.tar.gz