From 69bdf4a2af3ccf36f836d2a18f04dcd438f72714 Mon Sep 17 00:00:00 2001 From: Mark Cafaro <34887852+mcafaro@users.noreply.github.com> Date: Fri, 23 Aug 2024 15:04:02 -0400 Subject: [PATCH] Update export.yml --- .github/workflows/export.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/export.yml b/.github/workflows/export.yml index 01899a3..4c2f1c2 100644 --- a/.github/workflows/export.yml +++ b/.github/workflows/export.yml @@ -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