@@ -103,7 +103,7 @@ jobs:
103
103
- name : Start container
104
104
id : container
105
105
# Try to continue when "exporting to GitHub Actions Cache" failed with timeout
106
- if : (success() || failure ())
106
+ if : (!cancelled ())
107
107
run : |
108
108
docker run --name BUILD -dit \
109
109
--mount type=bind,src=$(pwd),dst=$(pwd) \
@@ -116,7 +116,7 @@ jobs:
116
116
117
117
- name : Update system packages
118
118
id : packages
119
- if : (success () || failure()) && steps.container.outcome == 'success'
119
+ if : (!cancelled () && steps.container.outcome == 'success')
120
120
run : |
121
121
export PATH="build/bin:$PATH"
122
122
eval $(sage-print-system-package-command auto update)
@@ -126,15 +126,19 @@ jobs:
126
126
127
127
- name : Build doc (PDF)
128
128
id : docbuild
129
- if : (success () || failure()) && steps.packages.outcome == 'success'
129
+ if : (!cancelled () && steps.packages.outcome == 'success')
130
130
run : |
131
131
export MAKE="make -j5 --output-sync=recurse" SAGE_NUM_THREADS=5
132
132
make doc-clean doc-uninstall; make sagemath_doc_html-build-deps sagemath_doc_pdf-no-deps
133
133
shell : sh .github/workflows/docker-exec-script.sh BUILD /sage {0}
134
134
135
+ - name : Check for missing character error messages
136
+ if : (!cancelled())
137
+ run : sh .github/workflows/docker-exec-script.sh BUILD /sage .github/workflows/check-latex-build.sh
138
+
135
139
- name : Copy doc
136
140
id : copy
137
- if : (success () || failure()) && steps.docbuild.outcome == 'success'
141
+ if : (!cancelled () && steps.docbuild.outcome == 'success')
138
142
run : |
139
143
mkdir -p ./doc
140
144
# We copy everything to a local folder
@@ -143,7 +147,7 @@ jobs:
143
147
zip -r doc-pdf.zip doc
144
148
145
149
- name : Upload doc
146
- if : (success () || failure()) && steps.copy.outcome == 'success'
150
+ if : (!cancelled () && steps.copy.outcome == 'success')
147
151
uses : actions/upload-artifact@v4
148
152
with :
149
153
name : doc-pdf
0 commit comments