Skip to content

Commit c601a54

Browse files
committed
Update LUA new-tag
1 parent ee6e285 commit c601a54

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/build-lua.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,14 @@ jobs:
4747
4848
test -f ndk_http_module.so
4949
test -f ngx_http_lua_module.so
50-
test -f usr/local/lib/lua/5.1/cjson.so
51-
test -f usr/local/share/lua/5.1/cjson/safe.lua
50+
CJSON_SO="$(find usr/local/lib/lua -type f -name 'cjson.so' -print -quit || true)"
51+
CJSON_SAFE="$(find usr/local/share/lua -type f -path '*/cjson/safe.lua' -print -quit || true)"
52+
53+
echo "Found cjson.so: ${CJSON_SO:-NOT FOUND}"
54+
echo "Found safe.lua: ${CJSON_SAFE:-NOT FOUND}"
55+
56+
test -n "$CJSON_SO"
57+
test -n "$CJSON_SAFE"
5258
5359
if [ -f libluajit-5.1.so.2 ]; then
5460
sha256sum \
@@ -66,8 +72,6 @@ jobs:
6672
usr/local/share/lua/5.1/cjson/safe.lua \
6773
> SHA256SUMS
6874
fi
69-
test -f usr/local/lib/lua/5.1/cjson.so
70-
test -f usr/local/share/lua/5.1/cjson/safe.lua
7175
cat SHA256SUMS
7276
7377
- name: Upload to GitHub Release

0 commit comments

Comments
 (0)