Skip to content

Commit 9832ebe

Browse files
committed
Bump actions version.
1 parent e5528cb commit 9832ebe

File tree

1 file changed

+37
-34
lines changed

1 file changed

+37
-34
lines changed

.github/workflows/pythonapp.yml

Lines changed: 37 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
matrix:
2222
python: [ '3.9', '3.10', '3.11', '3.12', '3.13']
2323
steps:
24-
- uses: actions/checkout@v3
24+
- uses: actions/checkout@v4.2.2
2525
- name: Set up Python ${{ matrix.python }}
26-
uses: actions/setup-python@v4
26+
uses: actions/setup-python@v5.4.0
2727
with:
2828
python-version: ${{ matrix.python }}
2929
- name: Get dependencies
@@ -71,12 +71,12 @@ jobs:
7171
$env:FFMPEG_ROOT=(get-item $env:FFMPEG_ROOT).FullName
7272
python setup.py bdist_wheel
7373
- name: Upload wheel
74-
uses: actions/upload-artifact@v3
74+
uses: actions/upload-artifact@v4.6.2
7575
with:
76-
name: py_wheel
76+
name: py_wheel-win-${{ matrix.python-version }}
7777
path: dist
7878
- name: Upload to GitHub Release
79-
uses: softprops/action-gh-release@v0.1.15
79+
uses: softprops/action-gh-release@v2.2.1
8080
if: startsWith(github.ref, 'refs/tags/')
8181
env:
8282
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -124,14 +124,15 @@ jobs:
124124
runs-on: ubuntu-latest
125125
needs: windows_wheels_tests
126126
steps:
127-
- uses: actions/checkout@v3
127+
- uses: actions/checkout@v4.2.2
128128
- name: Set up Python 3.x
129-
uses: actions/setup-python@v4
129+
uses: actions/setup-python@v5.4.0
130130
with:
131131
python-version: 3.x
132-
- uses: actions/download-artifact@v3
132+
- uses: actions/download-artifact@v4.2.1
133133
with:
134-
name: py_wheel
134+
pattern: py_wheel-*
135+
merge-multiple: true
135136
path: dist
136137
- name: Install
137138
run: |
@@ -158,14 +159,15 @@ jobs:
158159
runs-on: ubuntu-latest
159160
needs: linux_wheels
160161
steps:
161-
- uses: actions/checkout@v3
162+
- uses: actions/checkout@v4.2.2
162163
- name: Set up Python 3.x
163-
uses: actions/setup-python@v4
164+
uses: actions/setup-python@v5.4.0
164165
with:
165166
python-version: 3.x
166-
- uses: actions/download-artifact@v3
167+
- uses: actions/download-artifact@v4.2.1
167168
with:
168-
name: py_wheel
169+
pattern: py_wheel-*
170+
merge-multiple: true
169171
path: dist
170172
- name: Install
171173
run: |
@@ -199,15 +201,15 @@ jobs:
199201
cibw_archs: [ x86_64 ]
200202
cibw_build: [ 'cp39-manylinux_x86_64 cp310-manylinux_x86_64 cp311-manylinux_x86_64 cp312-manylinux_x86_64 cp313-manylinux_x86_64' ]
201203
steps:
202-
- uses: actions/checkout@v3
204+
- uses: actions/checkout@v4.2.2
203205
- name: Set up Python 3.x
204-
uses: actions/setup-python@v4
206+
uses: actions/setup-python@v5.4.0
205207
with:
206208
python-version: 3.x
207209
- name: Set up QEMU
208210
if: ${{ matrix.cibw_archs == 'aarch64' }}
209-
uses: docker/setup-qemu-action@v1
210-
- uses: actions/cache@v3
211+
uses: docker/setup-qemu-action@v3.6.0
212+
- uses: actions/cache@v4.2.3
211213
id: deps-cache
212214
with:
213215
path: ffmpeg_build
@@ -224,12 +226,12 @@ jobs:
224226
run: |
225227
python -m cibuildwheel --output-dir dist
226228
- name: Upload wheel
227-
uses: actions/upload-artifact@v3
229+
uses: actions/upload-artifact@v4.6.2
228230
with:
229-
name: py_wheel
231+
name: py_wheel-linux-${{ matrix.os }}-${{ matrix.cibw_archs }}
230232
path: dist
231233
- name: Upload to GitHub Release
232-
uses: softprops/action-gh-release@v0.1.15
234+
uses: softprops/action-gh-release@v2.2.1
233235
if: startsWith(github.ref, 'refs/tags/')
234236
env:
235237
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -259,15 +261,15 @@ jobs:
259261
matrix:
260262
arch: [ "x86_64", "arm64" ]
261263
steps:
262-
- uses: actions/checkout@v3
264+
- uses: actions/checkout@v4.2.2
263265
- name: Set up Python
264-
uses: actions/setup-python@v4
266+
uses: actions/setup-python@v5.4.0
265267
with:
266268
python-version: 3.x
267269

268270
- name: Cache ffmpeg
269271
id: cache-ffmpeg
270-
uses: actions/cache@v3
272+
uses: actions/cache@v4.2.3
271273
with:
272274
path: ~/${{ env.FFMPEG_BUILD_PATH }}_${{ matrix.arch }}
273275
key: ${{ runner.os }}-ffmpeg-${{ matrix.arch }}-${{ env.MACOSX_DEPLOYMENT_TARGET }}-${{ env.MACOSX_DEPLOYMENT_TARGET_ARM }}-${{ hashFiles('.ci/build_wheels_osx.sh') }}
@@ -285,24 +287,25 @@ jobs:
285287
python -m cibuildwheel --output-dir dist
286288
287289
- name: Upload wheel
288-
uses: actions/upload-artifact@v3
290+
uses: actions/upload-artifact@v4.6.2
289291
with:
290-
name: py_wheel
292+
name: py_wheel-osx-${{ matrix.arch }}
291293
path: dist
292294

293295
osx_wheels_fuse_test_upload:
294296
runs-on: macos-13
295297
needs: osx_wheels_create
296298
steps:
297-
- uses: actions/checkout@v3
299+
- uses: actions/checkout@v4.2.2
298300
- name: Set up Python
299-
uses: actions/setup-python@v4
301+
uses: actions/setup-python@v5.4.0
300302
with:
301303
python-version: 3.x
302304

303-
- uses: actions/download-artifact@v3
305+
- uses: actions/download-artifact@v4.2.1
304306
with:
305-
name: py_wheel
307+
pattern: py_wheel-*
308+
merge-multiple: true
306309
path: dist
307310

308311
- name: Fuse FFmpeg arm64/x86
@@ -312,13 +315,13 @@ jobs:
312315
bash ../.ci/merge_osx_deps.sh
313316
314317
- name: Upload wheel
315-
uses: actions/upload-artifact@v3
318+
uses: actions/upload-artifact@v4.6.2
316319
with:
317-
name: py_wheel
320+
name: py_wheel-osx-fused
318321
path: dist
319322

320323
- name: Upload to GitHub Release
321-
uses: softprops/action-gh-release@v0.1.15
324+
uses: softprops/action-gh-release@v2.2.1
322325
if: startsWith(github.ref, 'refs/tags/')
323326
env:
324327
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -347,9 +350,9 @@ jobs:
347350
docs:
348351
runs-on: ubuntu-latest
349352
steps:
350-
- uses: actions/checkout@v3
353+
- uses: actions/checkout@v4.2.2
351354
- name: Set up Python 3.x
352-
uses: actions/setup-python@v4
355+
uses: actions/setup-python@v5.4.0
353356
with:
354357
python-version: 3.x
355358
- name: Install

0 commit comments

Comments
 (0)