Skip to content

Commit

Permalink
Use apt update instead of apt-get in GH action
Browse files Browse the repository at this point in the history
We have some weird connection error on GH actions while installing the database headers. Let's try to use a more modern tool...
  • Loading branch information
tvdeyen committed Jun 2, 2020
1 parent 53ae5f8 commit 2a15188
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 2a15188

Please sign in to comment.