From 6b9c47563e6410772f080bc3f6c875814285b786 Mon Sep 17 00:00:00 2001 From: OmarHatem Date: Wed, 30 Aug 2023 19:15:07 +0300 Subject: [PATCH] Allow triggering cache workflow manually Fix haven build script --- .github/workflows/cache_dependencies.yml | 1 + scripts/android/build_haven.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cache_dependencies.yml b/.github/workflows/cache_dependencies.yml index ef4175641..5373bbc87 100644 --- a/.github/workflows/cache_dependencies.yml +++ b/.github/workflows/cache_dependencies.yml @@ -1,6 +1,7 @@ name: Cache Dependencies on: + workflow_dispatch: push: branches: [ main ] diff --git a/scripts/android/build_haven.sh b/scripts/android/build_haven.sh index f745e942e..16cf05039 100755 --- a/scripts/android/build_haven.sh +++ b/scripts/android/build_haven.sh @@ -5,8 +5,8 @@ HAVEN_VERSION=tags/v3.0.7 HAVEN_SRC_DIR=${WORKDIR}/haven git clone https://github.com/haven-protocol-org/haven-main.git ${HAVEN_SRC_DIR} -git checkout ${HAVEN_VERSION} cd $HAVEN_SRC_DIR +git checkout ${HAVEN_VERSION} git submodule init git submodule update