You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Try to download directly from GitHub API to see artifacts in the formal-spec repo
19
-
- name: List available artifacts in formal-spec repo
19
+
- name: 🔍 List available artifacts in formal-spec repo
20
20
id: list_artifacts
21
21
run: |
22
22
echo "Checking for artifacts in formal-spec repo..."
@@ -64,7 +64,8 @@ jobs:
64
64
search_artifacts: true
65
65
if_no_artifact_found: warn
66
66
67
-
- name: Check download and create placeholder if needed
67
+
- name: ✅ Validate download and create placeholder if needed
68
+
id: validate-download
68
69
run: |
69
70
mkdir -p formal-spec-html
70
71
@@ -73,11 +74,44 @@ jobs:
73
74
echo "Using downloaded formal spec HTML"
74
75
echo "Files in formal-spec-html directory:"
75
76
ls -la formal-spec-html/
77
+
echo "successful=true" >> $GITHUB_OUTPUT
76
78
else
77
79
echo "No formal spec HTML available, creating placeholder"
78
80
echo "<html><body><h1>Formal Specification</h1><p>Formal specification documentation is being updated. Please check back later.</p></body></html>" > formal-spec-html/index.html
81
+
echo "successful=false" >> $GITHUB_OUTPUT
79
82
fi
80
83
84
+
- name: 🔍 Check artifacts availability
85
+
id: check-artifacts
86
+
run: |
87
+
if [ -d "formal-spec-html" ] && [ -n "$(ls -A formal-spec-html/ 2>/dev/null)" ]; then
0 commit comments