Skip to content

Commit 5f624fa

Browse files
authored
Use {upload,download}-artifact@v4 (#10)
1 parent 79fdf14 commit 5f624fa

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

.github/workflows/CI.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ jobs:
5151
with:
5252
command: sdist
5353
- name: Upload wheels
54-
uses: actions/upload-artifact@v3
54+
uses: actions/upload-artifact@v4
5555
with:
56-
name: wheels
56+
name: wheels-${{ matrix.runs-on }}
5757
path: target/wheels
5858

5959
pack-linux:
@@ -77,9 +77,9 @@ jobs:
7777
manylinux: auto
7878
args: -i ${{ matrix.python-version }} --release
7979
- name: Upload wheels
80-
uses: actions/upload-artifact@v3
80+
uses: actions/upload-artifact@v4
8181
with:
82-
name: wheels
82+
name: wheels-${{ matrix.runs-on }}
8383
path: target/wheels
8484

8585
pack-windows:
@@ -104,9 +104,9 @@ jobs:
104104
manylinux: auto
105105
args: -i ${{ matrix.python-version }} --release
106106
- name: Upload wheels
107-
uses: actions/upload-artifact@v3
107+
uses: actions/upload-artifact@v4
108108
with:
109-
name: wheels
109+
name: wheels-${{ matrix.runs-on }}
110110
path: target/wheels
111111

112112
pack-macos:
@@ -129,9 +129,9 @@ jobs:
129129
manylinux: auto
130130
args: -i ${{ matrix.python-version }} --release --universal2
131131
- name: Upload wheels
132-
uses: actions/upload-artifact@v3
132+
uses: actions/upload-artifact@v4
133133
with:
134-
name: wheels
134+
name: wheels-${{ matrix.runs-on }}
135135
path: target/wheels
136136

137137
release:
@@ -140,9 +140,10 @@ jobs:
140140
needs: [ pack-sdist, pack-linux, pack-windows, pack-macos ]
141141
runs-on: ubuntu-latest
142142
steps:
143-
- uses: actions/download-artifact@v3
143+
- uses: actions/download-artifact@v4
144144
with:
145-
name: wheels
145+
patterns: wheels-*
146+
merge-multiple: true
146147
- name: Publish to PyPI
147148
uses: messense/maturin-action@v1
148149
env:

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "python-daachorse"
3-
version = "0.1.8"
3+
version = "0.1.9"
44
edition = "2021"
55
authors = [
66
"Koichi Akabe <[email protected]>",

0 commit comments

Comments
 (0)