Skip to content
Closed
Show file tree
Hide file tree
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
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ aliases:

- &restore-cache-apt
keys:
- v1-apt-{{ arch }}-{{ .Branch }}-{{ checksum "scripts/circleci/apt-get-android-deps.sh" }}
# Fallback in case checksum fails
- v1-apt-{{ arch }}-{{ .Branch }}-
- v1-apt-{{ .Branch }}-{{ checksum "scripts/circleci/apt-get-android-deps.sh" }}
# 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
paths:
- ~/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
keys:
Expand Down
2 changes: 1 addition & 1 deletion scripts/circleci/apt-get-android-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ fi

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