From 1170ecb48b6d05983b1c193069923399ac9f8615 Mon Sep 17 00:00:00 2001 From: Yathi <511386+yuth@users.noreply.github.com> Date: Thu, 29 Apr 2021 13:57:29 -0700 Subject: [PATCH] ci: run apt-get update before install --- .circleci/config.base.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.base.yml b/.circleci/config.base.yml index 67f4dafd7a3..485af169a76 100644 --- a/.circleci/config.base.yml +++ b/.circleci/config.base.yml @@ -103,7 +103,7 @@ jobs: key: amplify-cli-yarn-deps-{{ .Branch }}-{{ checksum "yarn.lock" }} - run: name: Install Java - command: sudo apt-get install default-jdk + command: sudo apt-get update && sudo apt-get install default-jdk - run: name: Run Transformer end-to-end tests with mock server command: cd packages/amplify-util-mock/ && yarn e2e