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
Copy file name to clipboardExpand all lines: .github/workflows/formal-spec-listener.yaml
+50-12Lines changed: 50 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -78,18 +78,56 @@ jobs:
78
78
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
79
79
fi
80
80
81
-
- name: 🚢 Upload formal spec files
82
-
uses: actions/upload-artifact@v4
81
+
# Prepare Docusaurus site with formal spec
82
+
- name: 📥 Checkout repository (again for site)
83
+
uses: actions/checkout@v4
83
84
with:
84
-
name: formal-spec-html
85
-
path: formal-spec-html
86
-
retention-days: 1
87
-
compression-level: 9
88
-
if-no-files-found: error
85
+
fetch-depth: 2
86
+
87
+
- name: 🛠️ Setup Node.js
88
+
uses: actions/setup-node@v4
89
+
with:
90
+
node-version: 22
91
+
cache: "yarn"
92
+
cache-dependency-path: ./site/yarn.lock
93
+
94
+
- name: 📦 Install dependencies
95
+
working-directory: site
96
+
run: yarn install
97
+
98
+
- name: 📝 Update formal spec
99
+
run: |
100
+
mkdir -p site/static/formal-spec
101
+
if [ -d "formal-spec-html" ] && [ -n "$(ls -A formal-spec-html/ 2>/dev/null)" ]; then
0 commit comments