File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,14 +56,15 @@ jobs:
5656 export PATH="$USERPROFILE/.xlings/subos/default/bin:$PATH"
5757 echo "$USERPROFILE/.xlings/subos/default/bin" >> "$GITHUB_PATH"
5858 xlings.exe --version
59- xlings.exe install mcpp -y || {
60- echo "::error::xlings install mcpp failed"
61- echo "Retrying with explicit version..."
62- xlings.exe install mcpp@0.0.17 -y
63- }
64- MCPP="$USERPROFILE/.xlings/subos/default/bin/mcpp.exe"
65- test -f "$MCPP" || MCPP="$USERPROFILE/.xlings/subos/default/bin/mcpp"
66- test -f "$MCPP"
59+ xlings.exe install mcpp -y || xlings.exe install mcpp@0.0.17 -y
60+ echo "=== Searching for mcpp binary ==="
61+ find "$USERPROFILE/.xlings" -name "mcpp.exe" -o -name "mcpp" 2>/dev/null | head -10
62+ MCPP=$(find "$USERPROFILE/.xlings" -name "mcpp.exe" -path "*/bin/*" 2>/dev/null | head -1)
63+ if [ -z "$MCPP" ]; then
64+ MCPP=$(find "$USERPROFILE/.xlings" -name "mcpp" -path "*/bin/*" 2>/dev/null | head -1)
65+ fi
66+ test -n "$MCPP" || { echo "FAIL: mcpp not found after xlings install"; exit 1; }
67+ echo "Found mcpp at: $MCPP"
6768 "$MCPP" --version
6869 echo "MCPP=$MCPP" >> "$GITHUB_ENV"
6970 XLINGS_BIN=$(cygpath -w "$USERPROFILE/.xlings/subos/default/bin/xlings.exe")
You can’t perform that action at this time.
0 commit comments