Skip to content

Commit 7507643

Browse files
committed
build(fix): do not install package on CI
1 parent d1885f8 commit 7507643

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

buildfile.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
if isMATLABReleaseOlderThan("R2025a")
77

8-
warning("mag:buildtool:path", "MATLAB release ""%s"" not supported for development purposes." + ...
8+
warning("mag:buildtool:path", "MATLAB release ""%s"" not supported for development purposes. " + ...
99
"Adding all folders to the path for testing purposes.", matlabRelease().Release);
1010

1111
% Brute-force add all folders to the path.
@@ -16,7 +16,7 @@
1616
package = matlab.mpm.Package(plan.RootFolder);
1717

1818
if ~package.Installed
19-
mpminstall(package, Authoring = true, Temporary = true, Prompt = false);
19+
addpath(join(fullfile(plan.RootFolder, [package.Folders.Path]), pathsep()));
2020
end
2121
end
2222

0 commit comments

Comments
 (0)