Allow triggering cache workflow manually

Fix haven build script
This commit is contained in:
OmarHatem 2023-08-30 19:15:07 +03:00
parent 1cc2c645fa
commit 6b9c47563e
2 changed files with 2 additions and 1 deletions

View file

@ -1,6 +1,7 @@
name: Cache Dependencies name: Cache Dependencies
on: on:
workflow_dispatch:
push: push:
branches: [ main ] branches: [ main ]

View file

@ -5,8 +5,8 @@ HAVEN_VERSION=tags/v3.0.7
HAVEN_SRC_DIR=${WORKDIR}/haven HAVEN_SRC_DIR=${WORKDIR}/haven
git clone https://github.com/haven-protocol-org/haven-main.git ${HAVEN_SRC_DIR} git clone https://github.com/haven-protocol-org/haven-main.git ${HAVEN_SRC_DIR}
git checkout ${HAVEN_VERSION}
cd $HAVEN_SRC_DIR cd $HAVEN_SRC_DIR
git checkout ${HAVEN_VERSION}
git submodule init git submodule init
git submodule update git submodule update