Commit dd9b8ca 1 parent c0f8f6a commit dd9b8ca Copy full SHA for dd9b8ca
File tree 1 file changed +29
-0
lines changed
1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : GitHub Actions Demo
2
+ run-name : ${{ github.actor }} is testing out GitHub Actions 🚀
3
+ on : [push]
4
+ jobs :
5
+ Explore-GitHub-Actions :
6
+ runs-on : windows-latest
7
+ steps :
8
+ - run : echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
9
+ - run : echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
10
+ - name : Check out repository code
11
+ uses : actions/checkout@v4
12
+ - run : echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
13
+ - run : echo "🖥️ The workflow is now ready to test your code on the runner."
14
+ - name : List files in the repository
15
+ run : |
16
+ ls ${{ github.workspace }}
17
+ - run : echo "🍏 This job's status is ${{ job.status }}."
18
+ - name : Start virtual display server
19
+ if : runner.os == 'Linux'
20
+ run : |
21
+ sudo apt-get install -y xvfb
22
+ Xvfb :99 &
23
+ echo "DISPLAY=:99" >> $GITHUB_ENV
24
+ - name : Set up MATLAB
25
+ uses : matlab-actions/setup-matlab@v2
26
+ - name : Run script
27
+ uses : matlab-actions/run-command@v2
28
+ with :
29
+ command : matlab\examples\Micromagnetism\mumag_micromag_Std_problem_4\Standard_problem_4
You can’t perform that action at this time.
0 commit comments