We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b4a85a commit bbf493eCopy full SHA for bbf493e
.github/workflows/create-github-release.yaml
@@ -32,12 +32,10 @@ jobs:
32
run: |
33
mkdir dist
34
35
- # Linux/macOS binaries may have no extension, Windows has .exe
36
- BIN_PATH=$(find target -type f \( -name "*.exe" -o -perm -111 \) | head -n 1)
37
-
38
- # MacOS fallback: if not found, pick any file in target
39
- if [[ -z "$BIN_PATH" ]]; then
40
- BIN_PATH=$(find target -type f | head -n 1)
+ if [[ "$SAFE_OS_NAME" == "windows" ]]; then
+ BIN_PATH=$(find target -type f -name "jfiletreeprettyprinter.exe")
+ else
+ BIN_PATH=$(find target -type f -name "jfiletreeprettyprinter")
41
fi
42
43
echo "Found binary: $BIN_PATH"
0 commit comments