From 3cd167fc1424c58306ae379e3185d41189a3a6ad Mon Sep 17 00:00:00 2001 From: Thomas von Deyen Date: Tue, 2 Jun 2020 23:30:33 +0200 Subject: [PATCH] Use apt update instead of apt-get in GH action (#1865) We have some weird connection error on GH actions while installing the database headers. Let's try to use a more modern tool... --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bc4a935812..3d18e8ae50 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,15 +61,15 @@ jobs: if: matrix.database == 'postgresql' run: | mkdir -p /home/runner/apt/cache - sudo apt-get update -qq - sudo apt-get install -qq --fix-missing libpq-dev -o dir::cache::archives="/home/runner/apt/cache" + sudo apt update -qq + sudo apt install -qq --fix-missing libpq-dev -o dir::cache::archives="/home/runner/apt/cache" sudo chown -R runner /home/runner/apt/cache - name: Install MySQL headers if: matrix.database == 'mysql' run: | mkdir -p /home/runner/apt/cache - sudo apt-get update -qq - sudo apt-get install -qq --fix-missing libmysqlclient-dev -o dir::cache::archives="/home/runner/apt/cache" + sudo apt update -qq + sudo apt install -qq --fix-missing libmysqlclient-dev -o dir::cache::archives="/home/runner/apt/cache" sudo chown -R runner /home/runner/apt/cache - name: Install bundler run: |