Skip to content

Commit 07ff361

Browse files
Update GitHub Actions to latest versions
Bump actions/checkout to v5, actions/setup-java to v5, and actions/upload-artifact to v4. Also update pypa/cibuildwheel to v2 for all relevant jobs to ensure compatibility and benefit from the latest improvements and security fixes.
1 parent 21b7396 commit 07ff361

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

.github/workflows/github-actions.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jobs:
44
windows-2022-staticLink-cs:
55
runs-on: windows-2022
66
steps:
7-
- uses: actions/checkout@v4
7+
- uses: actions/checkout@v5
88
- name: zlib install
99
run: |
1010
Invoke-WebRequest https://zlib.net/current/zlib.tar.gz -OutFile ${{ runner.temp }}\zlib.tar.gz
@@ -82,8 +82,8 @@ jobs:
8282
CC: ${{ matrix.cc }}
8383
CXX: ${{ matrix.cxx }}
8484
steps:
85-
- uses: actions/checkout@v4
86-
- uses: actions/setup-java@v4
85+
- uses: actions/checkout@v5
86+
- uses: actions/setup-java@v5
8787
with:
8888
distribution: 'temurin' # See 'Supported distributions' for available options
8989
java-version: '11'
@@ -125,13 +125,13 @@ jobs:
125125
name: Build wheels on windows-latest
126126
runs-on: windows-latest
127127
steps:
128-
- uses: actions/checkout@v4
128+
- uses: actions/checkout@v5
129129
- name: Stub `setup.py` check
130130
# It will be generated during CMake run
131131
# https://github.com/pypa/cibuildwheel/issues/1139
132132
run: touch python/setup.py
133133
- name: Build wheels
134-
uses: pypa/cibuildwheel@v2.21.3
134+
uses: pypa/cibuildwheel@v2
135135
env:
136136
CIBW_BUILD: cp38-win_amd64 cp39-win_amd64 cp310-win_amd64 cp311-win_amd64 cp312-win_amd64 cp313-win_amd64
137137
CIBW_ARCHS: auto64
@@ -158,13 +158,13 @@ jobs:
158158
name: Build wheels on ubuntu-latest
159159
runs-on: ubuntu-latest
160160
steps:
161-
- uses: actions/checkout@v4
161+
- uses: actions/checkout@v5
162162
- name: Stub `setup.py` check
163163
# It will be generated during CMake run
164164
# https://github.com/pypa/cibuildwheel/issues/1139
165165
run: touch python/setup.py
166166
- name: Build wheels
167-
uses: pypa/cibuildwheel@v2.21.3
167+
uses: pypa/cibuildwheel@v2
168168
env:
169169
CIBW_BUILD: cp38-manylinux_* cp39-manylinux_* cp310-manylinux_* cp311-manylinux_* cp312-manylinux_* cp313-manylinux_*
170170
CIBW_ARCHS: auto64
@@ -195,13 +195,13 @@ jobs:
195195
name: Build wheels on macos-14
196196
runs-on: macos-14
197197
steps:
198-
- uses: actions/checkout@v4
198+
- uses: actions/checkout@v5
199199
- name: Stub `setup.py` check
200200
# It will be generated during CMake run
201201
# https://github.com/pypa/cibuildwheel/issues/1139
202202
run: touch python/setup.py
203203
- name: Build wheels
204-
uses: pypa/cibuildwheel@v2.21.3
204+
uses: pypa/cibuildwheel@v2
205205
env:
206206
CIBW_BUILD: cp38-macosx_* cp39-macosx_* cp310-macosx_* cp311-macosx_* cp312-macosx_* cp313-macosx_*
207207
CIBW_ARCHS: auto64
@@ -247,7 +247,7 @@ jobs:
247247
runs-on: ubuntu-22.04
248248
steps:
249249
- name: Checkout
250-
uses: actions/checkout@v4
250+
uses: actions/checkout@v5
251251
- name: APT install
252252
run: |
253253
sudo apt update
@@ -267,7 +267,7 @@ jobs:
267267
ubuntu-latest-valgrind-unitTest:
268268
runs-on: ubuntu-latest
269269
steps:
270-
- uses: actions/checkout@v4
270+
- uses: actions/checkout@v5
271271
- name: APT install
272272
run: |
273273
sudo apt update
@@ -291,7 +291,7 @@ jobs:
291291
runs-on: ubuntu-22.04
292292
steps:
293293
- uses: mymindstorm/setup-emsdk@v11
294-
- uses: actions/checkout@v4
294+
- uses: actions/checkout@v5
295295
- name: Verify
296296
run: emcc -v
297297
- name: "Set environmental variables"
@@ -352,7 +352,7 @@ jobs:
352352
emmake make -j8 fesapi-wasm
353353
emmake make -j8 fesapi-wasm-node
354354
- name: 'Upload Artifact'
355-
uses: actions/upload-artifact@v3
355+
uses: actions/upload-artifact@v4
356356
with:
357357
name: fesapi-mjs
358358
path: |

0 commit comments

Comments
 (0)