File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change 4848
4949 sudo apt-get update -y -qq
5050
51- CANDIDATES="$(apt-cache search '^liblua[0-9]+\.[0-9]+-dev$' | awk '{print $1}' )"
51+ CANDIDATES="$(apt-cache pkgnames | grep -E '^liblua[0-9]+\.[0-9]+-dev$' || true )"
5252
5353 if [ -z "$CANDIDATES" ]; then
5454 echo "No libluaX.Y-dev package found"
6363 | awk '{print $2}'
6464 )"
6565
66+ if [ -z "$BEST_PKG" ]; then
67+ echo "Failed to determine Lua package"
68+ exit 1
69+ fi
70+
6671 echo "lua_pkg=$BEST_PKG" >> "$GITHUB_OUTPUT"
6772 echo "Using $BEST_PKG"
6873
74+
6975 - name : Install dependencies
7076 run : |
7177 sudo apt-get install -y \
8591 python3 \
8692 python3-venv
8793
94+ - name : Show Lua installation
95+ run : |
96+ which lua || true
97+ lua -v || true
98+ dpkg -l | grep lua || true
99+
88100 - name : Run build preparation script
89101 run : ./build.sh
90102
You can’t perform that action at this time.
0 commit comments