Skip to content

Commit 6b28317

Browse files
authored
Update action versions
1 parent 027b705 commit 6b28317

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ jobs:
1919
runs-on: self-hosted
2020
steps:
2121
- name: Check out repository
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@v6
2323
- name: Run script
24-
uses: matlab-actions/run-command@v2
24+
uses: matlab-actions/run-command@v3
2525
with:
2626
command: myscript
2727
```
@@ -38,11 +38,11 @@ jobs:
3838
runs-on: ubuntu-latest
3939
steps:
4040
- name: Check out repository
41-
uses: actions/checkout@v4
41+
uses: actions/checkout@v6
4242
- name: Set up MATLAB
43-
uses: matlab-actions/setup-matlab@v2
43+
uses: matlab-actions/setup-matlab@v3
4444
- name: Run statements
45-
uses: matlab-actions/run-command@v2
45+
uses: matlab-actions/run-command@v3
4646
with:
4747
command: results = runtests, assertSuccess(results);
4848
```
@@ -69,17 +69,17 @@ jobs:
6969
runs-on: ubuntu-latest
7070
steps:
7171
- name: Check out repository
72-
uses: actions/checkout@v4
72+
uses: actions/checkout@v6
7373
- name: Set up MATLAB
74-
uses: matlab-actions/setup-matlab@v2
74+
uses: matlab-actions/setup-matlab@v3
7575
- name: Run script
76-
uses: matlab-actions/run-command@v2
76+
uses: matlab-actions/run-command@v3
7777
with:
7878
command: myscript
7979
```
8080

8181
## Run MATLAB Command
82-
When you define your workflow in the `.github/workflows` directory of your repository, specify the **Run MATLAB Command** action as `matlab-actions/run-command@v2`. The action requires an input and also accepts an optional input.
82+
When you define your workflow in the `.github/workflows` directory of your repository, specify the **Run MATLAB Command** action as `matlab-actions/run-command@v3`. The action requires an input and also accepts an optional input.
8383

8484
Input | Description
8585
------------------------- | ---------------

0 commit comments

Comments
 (0)