Skip to content

Commit b50eabf

Browse files
authored
Merge pull request #2612 from pygame-community/dependabot/github_actions/actions/upload-artifact-4
Bump actions/upload-artifact from 3 to 4
2 parents d164f25 + 73ccd1b commit b50eabf

File tree

5 files changed

+13
-9
lines changed

5 files changed

+13
-9
lines changed

.github/workflows/build-emsdk.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
9090
# Upload the generated files under github actions assets section
9191
- name: Upload dist
92-
uses: actions/upload-artifact@v3
92+
uses: actions/upload-artifact@v4
9393
with:
9494
name: pygame-wasm-dist
9595
path: ./dist/*

.github/workflows/build-macos.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
6969
# Uncomment when you want to manually verify the deps by downloading them
7070
# - name: Upload Mac deps
71-
# uses: actions/upload-artifact@v3
71+
# uses: actions/upload-artifact@v4
7272
# with:
7373
# name: pygame-mac-deps-${{ matrix.macarch }}
7474
# path: ${{ github.workspace }}/pygame_mac_deps_${{ matrix.macarch }}
@@ -179,8 +179,9 @@ jobs:
179179
- name: Build and test wheels
180180
uses: pypa/cibuildwheel@v2.16.2
181181

182-
- uses: actions/upload-artifact@v3
182+
- uses: actions/upload-artifact@v4
183183
with:
184-
name: pygame-wheels-macos
184+
name: pygame-wheels-macos-${{ matrix.name }}
185185
path: ./wheelhouse/*.whl
186+
compression-level: 0 # wheels are already zip files, no need for more compression
186187

.github/workflows/build-manylinux.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,9 @@ jobs:
122122

123123
# We upload the generated files under github actions assets
124124
- name: Upload dist
125-
uses: actions/upload-artifact@v3
125+
uses: actions/upload-artifact@v4
126126
with:
127-
name: pygame-wheels-manylinux
127+
name: pygame-wheels-manylinux-${{ matrix.arch }}
128128
path: ./wheelhouse/*.whl
129+
compression-level: 0 # wheels are already zip files, no need for more compression
129130

.github/workflows/build-ubuntu-sdist.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,9 @@ jobs:
8888
# We upload the generated files under github actions assets
8989
- name: Upload sdist
9090
if: matrix.os == 'ubuntu-20.04' # upload sdist only once
91-
uses: actions/upload-artifact@v3
91+
uses: actions/upload-artifact@v4
9292
with:
9393
name: pygame-wheels-sdist
9494
path: dist/*.tar.gz
95+
compression-level: 0 # already compressed, no need for more compression
9596

.github/workflows/build-windows.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,8 @@ jobs:
161161
python -m pip --disable-pip-version-check install cibuildwheel==2.16.2
162162
python -m cibuildwheel --output-dir wheelhouse
163163
164-
- uses: actions/upload-artifact@v3
164+
- uses: actions/upload-artifact@v4
165165
with:
166-
name: pygame-wheels-windows
166+
name: pygame-wheels-windows-${{ matrix.name }}
167167
path: ./wheelhouse/*.whl
168+
compression-level: 0 # wheels are already zip files, no need for more compression

0 commit comments

Comments
 (0)