Make CI more friendly to forks

This commit is contained in:
Patrick Nicolas
2024-11-10 17:58:40 +01:00
parent 9bd23ac930
commit 97bacfcd35
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -9,6 +9,8 @@ do
case "$1" in
"--git")
WIVRN_SRC_TYPE=git
shift
WIVRN_SRC2="url: $1"
;;
"--gitlocal")
WIVRN_SRC_TYPE=gitlocal
@@ -35,7 +37,6 @@ BOOSTPFR_SHA256=$(curl --silent --location $BOOSTPFR_URL | sha256sum | cut -f1 -
if [ $WIVRN_SRC_TYPE = git ]
then
WIVRN_SRC1="type: git"
WIVRN_SRC2="url: https://github.com/WiVRn/WiVRn.git"
WIVRN_SRC3="tag: ${GIT_COMMIT}"
elif [ $WIVRN_SRC_TYPE = gitlocal ]
then