Skip to content

Update README.md

Update README.md #26

Workflow file for this run

name: MATLAB Build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Start display server
run: |
sudo apt-get install xvfb
Xvfb :99 &
echo "DISPLAY=:99" >> $GITHUB_ENV
- name: Setup MATLAB
uses: matlab-actions/setup-matlab@v1
- name: Run MATLAB command
uses: matlab-actions/run-command@v1
with:
command: |
connector.internal.startConnectionProfile("loopbackHttps");
com.mathworks.matlabserver.connector.api.Connector.ensureServiceOn();
export("sample.mlx");
- uses: actions/upload-artifact@v3
with:
path: sample.pdf