Skip to content

Commit 395409d

Browse files
committed
dbg
1 parent b541b2f commit 395409d

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/CI.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,7 @@ jobs:
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"
@@ -94,10 +90,8 @@ jobs:
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}\""

0 commit comments

Comments
 (0)