File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 7979 REPO="${1%%@*}"
8080 TAG="${1#*@}"
8181 TAG="${TAG%%:*}"
82-
8382 OVERRIDE_INCLUDE_PATH=`echo $1 | grep -Po '(?<=:).+'`
84- # if [ -z "$OVERRIDE_INCLUDE_PATH" ]; then
85- # OVERRIDE_INCLUDE_PATH="amxmodx/scripting/include"
86- # fi
8783
8884 if [ -z "$REPO" ]; then
8985 echo "No repo provided"
9490 mkdir -p dep/${REPO}
9591 cd dep/${REPO}
9692
97- if [ -z "$2 " ]; then
93+ if [ -z "$" ]; then
9894 TAG=`curl --silent https://api.github.com/repos/${REPO}/releases/latest | jq .tag_name -r`
99- else
100- TAG=$2
10195 fi
10296
10397 wget https://github.com/${REPO}/archive/refs/tags/${TAG}.zip -q > nul
@@ -106,6 +100,8 @@ jobs:
106100 REPO_NAME=`echo "${REPO}" | grep -Po '(?<=\/).+'`
107101 INCLUDE_PATH="$(pwd)/${TAG}/${OVERRIDE_INCLUDE_PATH:-amxmodx/scripting/include}"
108102
103+ ls $(pwd)
104+ ls $(pwd)/${TAG}
109105 ls $INCLUDE_PATH
110106
111107 echo "-i\"${INCLUDE_PATH}\""
You can’t perform that action at this time.
0 commit comments