Update export.yml #27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |