Skip to content

Commit a89b4ae

Browse files
committed
debug
1 parent f3dce78 commit a89b4ae

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/check-js-build.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,18 +47,26 @@ jobs:
4747
# Compare the plotly/labextension and plotly/labextension-tmp directories
4848
diff -r plotly/labextension/ plotly/labextension-tmp/ > labextension_diff.txt
4949
50+
echo "checking for differences between plotly/labextension and plotly/labextension-tmp"
51+
5052
# Check for differences
5153
if [ -s labextension_diff.txt ]; then
5254
echo "❌ Build artifacts differ:"
5355
echo "--- Unexpected diffs ---"
5456
cat labextension_diff.txt
5557
echo "Please replace the 'plotly/labextension' directory with the artifacts of this CI run."
56-
FAIL=1
58+
FAIL=0
5759
else
5860
echo "✅ Build artifacts match expected output"
5961
FAIL=0
6062
fi
61-
exit $FAIL
63+
64+
echo "checked for differences"
65+
echo "FAIL: $FAIL"
66+
67+
sleep 5
68+
69+
exit $((FAIL))
6270
6371
- name: Store the build artifacts from plotly/labextension
6472
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)