Update blank.yml #15
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: Run MATLAB | |
on: [push] | |
jobs: | |
my-job: | |
strategy: | |
matrix: | |
platform: [windows-latest] | |
release: [latest] | |
name: Run MATLAB Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v3 | |
# - name: Cache MATLAB | |
# id: cache-matlab | |
# uses: actions/cache@v3 | |
# with: | |
# path: ${{ runner.tool_cache }}/MATLAB | |
# key: ${{ matrix.platform }}-${{ matrix.release }} | |
# - name: Setup MATLAB | |
# uses: matlab-actions/setup-matlab@v2 | |
# with: | |
# release: ${{ matrix.release }} | |
# products: MATLAB | |
- run: echo $PATH | |
- name: Get run-matlab-command | |
run: | | |
wget -O /usr/local/bin/run-matlab-command https://ssd.mathworks.com/supportfiles/ci/run-matlab-command/v1/glnxa64/run-matlab-command | |
chmod +x /usr/local/bin/run-matlab-command | |
- name: Run MATLAB Command | |
run: run-matlab-command "disp('hello world')" |