Skip to content

Commit 6ff1c65

Browse files
committed
Update CI workflows
1 parent 8613127 commit 6ff1c65

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,13 @@ jobs:
5353
container: ${{ matrix.container }}
5454
docker-options: -e CI
5555
- name: Upload wheels
56-
uses: actions/upload-artifact@v3
56+
uses: actions/upload-artifact@v4
5757
with:
58-
name: dist
58+
name: dist-${{ matrix.platform || matrix.os }}-${{ matrix.target }}-${{ matrix.manylinux || 'auto' }}
5959
path: dist
6060

6161
wheels-pgo:
62-
name: pgo-wheel ${{ matrix.platform || matrix.os }} (${{ matrix.interpreter}})
62+
name: pgo-wheel ${{ matrix.platform || matrix.os }} (${{ matrix.interpreter }})
6363
strategy:
6464
fail-fast: false
6565
matrix:
@@ -118,7 +118,7 @@ jobs:
118118
env:
119119
RUSTFLAGS: "-Cprofile-use=${{ github.workspace }}/merged.profdata"
120120
- name: Upload wheels
121-
uses: actions/upload-artifact@v3
121+
uses: actions/upload-artifact@v4
122122
with:
123-
name: dist
123+
name: dist-pgo-${{ matrix.platform || matrix.os }}-${{ matrix.interpreter }}
124124
path: dist

.github/workflows/release.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
command: sdist
2121
args: --out dist
2222
- name: Upload sdist
23-
uses: actions/upload-artifact@v3
23+
uses: actions/upload-artifact@v4
2424
with:
25-
name: dist
25+
name: dist-sdist
2626
path: dist
2727

2828
wheels:
@@ -72,13 +72,13 @@ jobs:
7272
container: ${{ matrix.container }}
7373
docker-options: -e CI
7474
- name: Upload wheels
75-
uses: actions/upload-artifact@v3
75+
uses: actions/upload-artifact@v4
7676
with:
77-
name: dist
77+
name: dist-${{ matrix.platform || matrix.os }}-${{ matrix.target }}-${{ matrix.manylinux || 'auto' }}
7878
path: dist
7979

8080
wheels-pgo:
81-
name: pgo-wheel ${{ matrix.platform || matrix.os }} (${{ matrix.interpreter}})
81+
name: pgo-wheel ${{ matrix.platform || matrix.os }} (${{ matrix.interpreter }})
8282
strategy:
8383
fail-fast: false
8484
matrix:
@@ -137,9 +137,9 @@ jobs:
137137
env:
138138
RUSTFLAGS: "-Cprofile-use=${{ github.workspace }}/merged.profdata"
139139
- name: Upload wheels
140-
uses: actions/upload-artifact@v3
140+
uses: actions/upload-artifact@v4
141141
with:
142-
name: dist
142+
name: dist-pgo-${{ matrix.platform || matrix.os }}-${{ matrix.interpreter }}
143143
path: dist
144144

145145
release:
@@ -152,9 +152,10 @@ jobs:
152152
id-token: write
153153

154154
steps:
155-
- uses: actions/download-artifact@v3
155+
- uses: actions/download-artifact@v4
156156
with:
157-
name: dist
157+
pattern: dist-*
158+
merge-multiple: true
158159
path: dist
159160
- name: Publish package to pypi
160161
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)