Skip to content

Commit

Permalink
Update export.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mcafaro committed Aug 23, 2024
1 parent cf3a638 commit 69bdf4a
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/export.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,13 @@ jobs:
echo "DISPLAY=:99" >> $GITHUB_ENV
- name: Setup MATLAB
uses: matlab-actions/setup-matlab@v1
uses: matlab-actions/setup-matlab@v2

- name: Run MATLAB command
uses: matlab-actions/run-command@v1
uses: matlab-actions/run-command@v2
with:
command: |
connector.internal.startConnectionProfile("loopbackHttps");
com.mathworks.matlabserver.connector.api.Connector.ensureServiceOn();
export("sample.mlx");
command: export("sample.mlx");

- uses: actions/upload-artifact@v3
with:
path: sample.pdf

0 comments on commit 69bdf4a

Please sign in to comment.