We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92efa9c commit e5c0968Copy full SHA for e5c0968
1 file changed
.github/workflows/ci-windows.yml
@@ -119,9 +119,12 @@ jobs:
119
WRAPPER="mcpp-${VERSION}-windows-x86_64"
120
ZIPNAME="${WRAPPER}.zip"
121
122
+ MCPP_BIN=$(find target -name "mcpp.exe" -path "*/bin/*" | head -1)
123
+ test -n "$MCPP_BIN" || { echo "FAIL: no mcpp.exe in target/"; exit 1; }
124
+
125
STAGING=$(mktemp -d)
126
mkdir -p "$STAGING/$WRAPPER/bin" "$STAGING/$WRAPPER/registry/bin"
- cp "$MCPP_SELF" "$STAGING/$WRAPPER/bin/mcpp.exe"
127
+ cp "$MCPP_BIN" "$STAGING/$WRAPPER/bin/mcpp.exe"
128
printf '@echo off\r\n"%%~dp0bin\\mcpp.exe" %%*\r\n' > "$STAGING/$WRAPPER/mcpp.bat"
129
cp README.md "$STAGING/$WRAPPER/" 2>/dev/null || true
130
cp LICENSE "$STAGING/$WRAPPER/" 2>/dev/null || true
0 commit comments