Skip to content

Commit d99e640

Browse files
committed
[ci] update all expired runners
1 parent 108ebc5 commit d99e640

1 file changed

Lines changed: 12 additions & 11 deletions

File tree

.github/workflows/run_test.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ jobs:
66
octave_test:
77
name: Octave tests
88
strategy:
9-
# tested octave versions: ubuntu-20.04 = 5.2, ubuntu-22.04 = 6.4, macos-12 = 8.1, windows-2019 = 8.3
9+
# tested octave versions: ubuntu-22.04 = 5.2, ubuntu-22.04 = 6.4, macos-13 = 8.1, windows-2022 = 8.3
1010
matrix:
11-
os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04, macos-12, windows-2019]
11+
os: [ubuntu-22.04, ubuntu-24.04, macos-13, windows-2022]
1212
runs-on: ${{ matrix.os }}
1313
defaults:
1414
run:
@@ -135,8 +135,8 @@ jobs:
135135
zip -FSr --symlink packages/zmat-octave-${{ env.RELEASE_TAG }}.zip zmat
136136
fi
137137
- name: Upload zmat package
138-
if: ${{ matrix.os == 'ubuntu-20.04' || matrix.os == 'macos-12' || matrix.os == 'windows-2019' }}
139-
uses: actions/upload-artifact@v3
138+
if: ${{ matrix.os == 'ubuntu-22.04' || matrix.os == 'macos-13' || matrix.os == 'windows-2022' }}
139+
uses: actions/upload-artifact@v4
140140
with:
141141
name: all-zmat-packages
142142
path: packages/zmat-octave-${{ env.RELEASE_TAG }}.zip
@@ -145,7 +145,7 @@ jobs:
145145
name: MATLAB test
146146
strategy:
147147
matrix:
148-
os: [ubuntu-20.04, macos-12, windows-2019]
148+
os: [ubuntu-22.04, macos-13, windows-2022]
149149
defaults:
150150
run:
151151
shell: bash
@@ -224,22 +224,23 @@ jobs:
224224
zip -FSr --symlink packages/zmat-matlab-${{ env.RELEASE_TAG }}.zip zmat
225225
fi
226226
- name: Upload zmat package
227-
if: ${{ matrix.os == 'ubuntu-20.04' || matrix.os == 'macos-12' || matrix.os == 'windows-2019' }}
228-
uses: actions/upload-artifact@v3
227+
if: ${{ matrix.os == 'ubuntu-22.04' || matrix.os == 'macos-13' || matrix.os == 'windows-2022' }}
228+
uses: actions/upload-artifact@v4
229229
with:
230-
name: all-zmat-packages
230+
name: all-zmat-packages-${{ env.RELEASE_TAG }}
231231
path: packages/zmat-matlab-${{ env.RELEASE_TAG }}.zip
232232

233233
upload_package:
234234
name: Upload Packages
235235
needs: [octave_test, matlab_test]
236-
runs-on: ubuntu-20.04
236+
runs-on: ubuntu-22.04
237237
if: ${{ github.repository_owner == 'NeuroJSON' && github.event_name != 'pull_request'}}
238238
steps:
239239
- name: Download zmat
240-
uses: actions/download-artifact@v3
240+
uses: actions/download-artifact@v4
241241
with:
242-
name: all-zmat-packages
242+
pattern: all-zmat*
243+
merge-multiple: true
243244
path: packages
244245
- name: Create all-in-one zmat package
245246
run: |

0 commit comments

Comments
 (0)