Skip to content

Commit 6142282

Browse files
authored
CI updates (#1252)
* [CI] Update artifacts actions * [CI] MacOS-12 runner are deprecated, use 13
1 parent 41e1f19 commit 6142282

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,14 @@ jobs:
6868
shell: bash
6969
run: cmake --install . --config ${{ matrix.build_type }}
7070

71-
- uses: actions/upload-artifact@v3
71+
- uses: actions/upload-artifact@v4
7272
if: ${{ matrix.build_type == 'Release' }}
7373
with:
7474
name: OpenJK-windows-${{ matrix.arch }}-${{ matrix.build_type }}-${{ matrix.portable }}
7575
path: ${{ github.workspace }}/build/bin/JediAcademy
7676
if-no-files-found: error
7777

78-
- uses: actions/upload-artifact@v3
78+
- uses: actions/upload-artifact@v4
7979
if: ${{ matrix.build_type == 'Release' }}
8080
with:
8181
name: OpenJO-windows-${{ matrix.arch }}-${{ matrix.build_type }}-${{ matrix.portable }}
@@ -149,14 +149,14 @@ jobs:
149149
shell: bash
150150
run: tar -czvf OpenJO-linux-${{ matrix.arch }}-${{ matrix.build_type }}-${{ matrix.portable }}.tar.gz *
151151

152-
- uses: actions/upload-artifact@v3
152+
- uses: actions/upload-artifact@v4
153153
if: ${{ matrix.build_type == 'Release' }}
154154
with:
155155
name: OpenJK-linux-${{ matrix.arch }}-${{ matrix.build_type }}-${{ matrix.portable }}
156156
path: ${{github.workspace}}/install/JediAcademy/OpenJK-linux-${{ matrix.arch }}-${{ matrix.build_type }}-${{ matrix.portable }}.tar.gz
157157
if-no-files-found: error
158158

159-
- uses: actions/upload-artifact@v3
159+
- uses: actions/upload-artifact@v4
160160
if: ${{ matrix.build_type == 'Release' }}
161161
with:
162162
name: OpenJO-linux-${{ matrix.arch }}-${{ matrix.build_type }}-${{ matrix.portable }}
@@ -169,11 +169,11 @@ jobs:
169169
strategy:
170170
fail-fast: false
171171
matrix:
172-
runner: [macos-12, macos-14]
172+
runner: [macos-13, macos-14]
173173
build_type: [Debug, Release]
174174
portable: [Non-Portable]
175175
include:
176-
- runner: macos-12
176+
- runner: macos-13
177177
arch: x86_64
178178
- runner: macos-14
179179
arch: arm64
@@ -226,14 +226,14 @@ jobs:
226226
chmod +x openjo_sp.${{ matrix.arch }}.app/Contents/MacOS/openjo_sp.${{ matrix.arch }}
227227
tar -czvf openjo_sp-macos-${{ matrix.arch }}-${{ matrix.build_type }}-${{ matrix.portable }}.tar.gz *
228228
229-
- uses: actions/upload-artifact@v3
229+
- uses: actions/upload-artifact@v4
230230
if: ${{ matrix.build_type == 'Release' }}
231231
with:
232232
name: OpenJK-macos-${{ matrix.arch }}-${{ matrix.build_type }}-${{ matrix.portable }}
233233
path: ${{ github.workspace }}/install/JediAcademy/openjk-macos-${{ matrix.arch }}-${{ matrix.build_type }}-${{ matrix.portable }}.tar.gz
234234
if-no-files-found: error
235235

236-
- uses: actions/upload-artifact@v3
236+
- uses: actions/upload-artifact@v4
237237
if: ${{ matrix.build_type == 'Release' }}
238238
with:
239239
name: OpenJO-macos-${{ matrix.arch }}-${{ matrix.build_type }}-${{ matrix.portable }}
@@ -250,7 +250,7 @@ jobs:
250250
submodules: recursive
251251

252252
- name: Download Artifacts
253-
uses: actions/download-artifact@v3
253+
uses: actions/download-artifact@v4
254254

255255
- name: Create binary archives
256256
run: |
@@ -341,7 +341,7 @@ jobs:
341341
submodules: recursive
342342

343343
- name: Download Artifacts
344-
uses: actions/download-artifact@v3
344+
uses: actions/download-artifact@v4
345345

346346
- name: Create archive
347347
run: |

0 commit comments

Comments
 (0)