Skip to content

Commit

Permalink
Merge pull request #1678 from tvdeyen/ensure-apt-cache-dir-exists
Browse files Browse the repository at this point in the history
Ensure the apt/cache folder exists while installing
  • Loading branch information
tvdeyen authored Nov 25, 2019
2 parents d4fc370 + 6208d05 commit 0bb88bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,17 @@ jobs:
- name: Install Postgres headers
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 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 chown -R runner /home/runner/apt/cache
- name: Install bundler
run: |
gem install bundler
Expand Down

0 comments on commit 0bb88bf

Please sign in to comment.