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 7ab9532 commit f61db12Copy full SHA for f61db12
action.yml
@@ -38,13 +38,15 @@ runs:
38
39
# Check if the binary exists
40
if [ ! -f "$BINARY_PATH" ]; then
41
- echo "📭 Binary not found. Building the project..."
42
- swift build --configuration release
+
+ echo "📭 Binary not found at $BINARY_PATH. Building the project..."
43
+ swift build --configuration release
44
45
# Check if the build was successful
- if [ $? -ne 0 ]; then
- echo "Build failed"
46
+ if [ ! -f "$BINARY_PATH" ]; then
47
+ echo "Build failed"
48
exit 1
- fi
49
+ fi
50
else
51
echo "📬 Binary found at $BINARY_PATH"
52
fi
0 commit comments