Skip to content

Commit edce9d4

Browse files
authored
Fixed publish-release.yml (#11)
1 parent a53ac3e commit edce9d4

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

.github/workflows/publish-release.yml

+20-4
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,26 @@ jobs:
8181
py3to: "3.13"
8282

8383
steps:
84-
- uses: spm/spm-python/.github/workflows/compile_spm.yml@main
85-
with:
86-
matlab-version: ${{ matrix.matlab }}
87-
84+
- name: Set up MATLAB
85+
uses: matlab-actions/setup-matlab@v2
86+
with:
87+
cache: True
88+
release: ${{ matrix.matlab }}
89+
products: |
90+
MATLAB_Compiler
91+
MATLAB_Compiler_SDK
92+
93+
- name: Check out repository
94+
uses: actions/checkout@v4
95+
96+
- name: Run MPython
97+
uses: matlab-actions/run-command@v2
98+
with:
99+
command: |
100+
cd('.mpython');
101+
addpath(genpath('.'));
102+
spm_make_python('.', true, false);
103+
88104
- name: Set up Python
89105
uses: actions/setup-python@v5
90106
with:

0 commit comments

Comments
 (0)