Skip to content

Commit 777aca9

Browse files
authored
Update make.yml
1 parent c2ee999 commit 777aca9

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

.github/workflows/make.yml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: Build & Test (C/ASM NeuroHTTP)
2+
run-name: Build and Test NeuroHTTP on ${{ github.ref_name }}
23

34
on:
45
push:
@@ -36,8 +37,18 @@ jobs:
3637
exit 1
3738
fi
3839
39-
- name: ✅ Force clean exit
40+
- name: ✅ Mark workflow success
41+
if: ${{ success() }}
4042
run: |
41-
echo "🎯 Forcing clean exit to ensure GitHub Actions marks this workflow as passed."
42-
sleep 1
43-
exit 0
43+
echo "🎯 All steps completed successfully!"
44+
echo "BUILD_STATUS=success" >> $GITHUB_ENV
45+
46+
- name: 🚀 Finalize job
47+
run: |
48+
if [ "$BUILD_STATUS" = "success" ]; then
49+
echo "✅ Workflow finished cleanly — marking as passed."
50+
exit 0
51+
else
52+
echo "❌ Something went wrong, marking as failed."
53+
exit 1
54+
fi

0 commit comments

Comments
 (0)