Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure the apt/cache folder exists while installing #1678

Merged
merged 1 commit into from
Nov 25, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Ensure the apt/cache folder exists while installing
Sometimes it happens that the cache folder has not been restored
from cache.
tvdeyen committed Nov 20, 2019
commit 6208d05124767514443a673555781b2d064d5fc2
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -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