@@ -69,11 +69,11 @@ jobs:
6969 # Checks-out your repository
7070 - uses : actions/checkout@v4
7171
72- # Sets up R2023b
72+ # Sets latest MATLAB
7373 - name : Setup MATLAB
7474 uses : matlab-actions/setup-matlab@v2
7575 with :
76- release : R2025b
76+ release : latest
7777
7878 # Download the test results from artifact
7979 - name : Download All TestResults
8888 uses : matlab-actions/run-command@v2
8989 with :
9090 command : openProject(pwd); PostSmokeTest;
91+
92+ # Upload the badege as artifact
93+ - name : Upload Badge
94+ if : ${{ always() }}
95+ uses : actions/upload-artifact@v4
96+ with :
97+ name : Badge-Artifact
98+ path : ./public/TestedWith.json
99+ overwrite : true
91100
92101 # Deploy reports to GitHub pages
93102 - name : Setup Pages
@@ -101,13 +110,13 @@ jobs:
101110 uses : actions/deploy-pages@v4
102111
103112 # Commit the JSON for the MATLAB releases badge
104- - name : Commit changed files
105- continue-on-error : true
106- run : |
107- git config user.name "${{ github.workflow }} by ${{ github.actor }}"
108- git config user.email "<>"
109- git pull
110- git add Images/TestedWith.json
111- git commit Images/TestedWith.json -m "Update CI badges ${{ github.ref_name }}"
112- git fetch
113- git push
113+ # - name: Commit changed files
114+ # continue-on-error: true
115+ # run: |
116+ # git config user.name "${{ github.workflow }} by ${{ github.actor }}"
117+ # git config user.email "<>"
118+ # git pull
119+ # git add Images/TestedWith.json
120+ # git commit Images/TestedWith.json -m "Update CI badges ${{ github.ref_name }}"
121+ # git fetch
122+ # git push
0 commit comments