Skip to content

Commit 99d413c

Browse files
authored
fix: release ci (#1185)
1 parent ab90a23 commit 99d413c

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

.github/workflows/release-CI.yml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -164,12 +164,15 @@ jobs:
164164
- name: Downloading all Artifacts
165165
uses: actions/download-artifact@v4
166166
with:
167-
path: artifacts
167+
path: tempDir
168168
pattern: wheels-*
169-
merge-multiple: true
170169
- run: |
171-
echo "Listing directories"
170+
echo "Listing directories & files"
172171
ls -R
172+
mkdir artifacts
173+
# Move all files from each artifact directory into the artifacts directory
174+
find tempDir -mindepth 2 -type f -exec mv -t artifacts {} +
175+
173176
- name: Uploading Artifact's Bundle
174177
uses: actions/upload-artifact@v4
175178
with:
@@ -181,25 +184,19 @@ jobs:
181184
runs-on: ubuntu-latest
182185
needs: [macos, windows, linux, linux-cross, merge]
183186
steps:
184-
- uses: actions/checkout@v3
185187
- uses: actions/download-artifact@v4
186188
with:
189+
path: dist
187190
name: wheels
188191
- name: Install uv
189192
uses: astral-sh/setup-uv@v3
190193
- uses: actions/setup-python@v5
191194
with:
192195
python-version: 3.x
193-
- uses: dtolnay/rust-toolchain@stable
194-
- name: Build source distribution
195-
uses: PyO3/maturin-action@v1
196-
with:
197-
command: sdist
198-
args: -i python --out dist
199196
- name: Publish to PyPi
200197
env:
201198
TWINE_USERNAME: __token__
202199
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
203200
run: |
204201
uv pip install --upgrade twine
205-
twine upload --skip-existing * dist/*
202+
twine upload --skip-existing dist/*

0 commit comments

Comments
 (0)