Clear apt cache

Summary:
This will unblock test_android on CI.
Closes https://github.com/facebook/react-native/pull/19275

Differential Revision: D8020049

Pulled By: hramos

fbshipit-source-id: 9d738a636f63138aae918759e879f9e397c11aca
This commit is contained in:
Héctor Ramos 2018-05-15 17:13:41 -07:00 committed by Facebook Github Bot
parent 499d654eb8
commit 1ad8351d9b
2 changed files with 6 additions and 6 deletions

View File

@ -44,15 +44,15 @@ aliases:
- &restore-cache-apt - &restore-cache-apt
keys: keys:
- v1-apt-{{ arch }}-{{ .Branch }}-{{ checksum "scripts/circleci/apt-get-android-deps.sh" }} - v1-apt-{{ .Branch }}-{{ checksum "scripts/circleci/apt-get-android-deps.sh" }}
# Fallback in case checksum fails
- v1-apt-{{ arch }}-{{ .Branch }}-
# Fallback in case this is a first-time run on a fork # Fallback in case this is a first-time run on a fork
- v1-apt-{{ arch }}-master- # You always want to match checksum, if it fails,
# proceed with a fresh install.
- v1-apt-master-{{ checksum "scripts/circleci/apt-get-android-deps.sh" }}
- &save-cache-apt - &save-cache-apt
paths: paths:
- ~/vendor/apt - ~/vendor/apt
key: v1-apt-{{ arch }}-{{ .Branch }}-{{ checksum "scripts/circleci/apt-get-android-deps.sh" }} key: v1-apt-{{ .Branch }}-{{ checksum "scripts/circleci/apt-get-android-deps.sh" }}
- &restore-cache-ndk - &restore-cache-ndk
keys: keys:

View File

@ -22,4 +22,4 @@ fi
# Install all packages in the cache # Install all packages in the cache
echo "Installing build dependencies..." echo "Installing build dependencies..."
sudo dpkg -i ~/vendor/apt/archives/*.deb sudo dpkg -i ~/vendor/apt/archives/*.deb