Skip to content

Commit 4439f12

Browse files
Merge pull request #120 from oscarbenjamin/pr_actions_artifacts
Bump actions/upload/download artifacts to v4
2 parents 42bf2fc + 23cd1bb commit 4439f12

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/buildwheel.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,9 @@ jobs:
5252
bin\cibw_repair_wheel_command_windows.bat {dest_dir} {wheel}
5353
CIBW_TEST_COMMAND: python -c "import flint; print(str(flint.fmpz(2)))"
5454

55-
- uses: actions/upload-artifact@v3
55+
- uses: actions/upload-artifact@v4
5656
with:
57+
name: wheels-${{ matrix.os }}
5758
path: wheelhouse/*.whl
5859

5960
build_sdist:
@@ -71,8 +72,9 @@ jobs:
7172
- run: pip install cython setuptools
7273
- run: python setup.py sdist
7374

74-
- uses: actions/upload-artifact@v3
75+
- uses: actions/upload-artifact@v4
7576
with:
77+
name: sdist
7678
path: dist/*.tar.gz
7779

7880
test_rst:
@@ -87,9 +89,9 @@ jobs:
8789
with:
8890
python-version: '3.12'
8991

90-
- uses: actions/download-artifact@v3
92+
- uses: actions/download-artifact@v4
9193
with:
92-
name: artifact
94+
name: wheels-ubuntu-20.04
9395
path: wheelhouse
9496

9597
- run: pip install --upgrade pip
@@ -111,9 +113,9 @@ jobs:
111113
- uses: actions/setup-python@v5
112114
with:
113115
python-version: ${{ matrix.python-version }}
114-
- uses: actions/download-artifact@v3
116+
- uses: actions/download-artifact@v4
115117
with:
116-
name: artifact
118+
name: wheels-${{ matrix.os }}
117119
path: wheelhouse
118120
- run: pip install --no-index --find-links wheelhouse python_flint
119121
- run: python -m flint.test --verbose

0 commit comments

Comments
 (0)