Skip to content

Update export.yml

Update export.yml #27

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@v2
- name: Run MATLAB command
uses: matlab-actions/run-command@v2
with:
command: export("sample.mlx");
- uses: actions/upload-artifact@v3
with:
path: sample.pdf