mirror of
https://github.com/status-im/react-native.git
synced 2025-02-24 23:28:12 +00:00
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:
parent
499d654eb8
commit
1ad8351d9b
@ -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:
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user