Skip to content

Commit 2ba3ce5

Browse files
committed
publish: must not build mex first, as its cached
1 parent 1ab1387 commit 2ba3ce5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,10 @@ jobs:
4747
- name: Run Matlab buildtool
4848
uses: matlab-actions/run-build@v2
4949
with:
50-
tasks: test publish
50+
tasks: publish
51+
# don't run "test" task as then even "clean" will leave Matlab in cached state where
52+
# it won't publish due to thinking a function is a Mex file. Error is
53+
# "Error using publish Only MATLAB code can be published"
5154

5255
- name: Upload artifact
5356
uses: actions/upload-pages-artifact@v3

0 commit comments

Comments
 (0)