Skip to content

Commit 04f1e59

Browse files
authored
Fix CI wheel publish (#27)
1 parent 42faf3b commit 04f1e59

1 file changed

Lines changed: 24 additions & 26 deletions

File tree

.github/workflows/wheels.yml

Lines changed: 24 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -154,30 +154,28 @@ jobs:
154154
# name: wheels-sdist-object-store-rs
155155
# path: dist
156156

157-
# release:
158-
# runs-on: ubuntu-latest
159-
# strategy:
160-
# matrix:
161-
# name: Release
162-
# environment:
163-
# name: release
164-
# url: https://pypi.org/p/object-store-rs
165-
# permissions:
166-
# # IMPORTANT: this permission is mandatory for trusted publishing
167-
# id-token: write
168-
# if: startsWith(github.ref, 'refs/tags/')
169-
# needs: [linux, windows, macos]
170-
# steps:
171-
# - uses: actions/download-artifact@v4
172-
# with:
173-
# pattern: wheels-*-object-store-rs
174-
# merge-multiple: true
175-
# path: dist
176-
# - uses: actions/setup-python@v4
177-
# with:
178-
# python-version: 3.8
157+
release:
158+
runs-on: ubuntu-latest
159+
name: Release
160+
# environment:
161+
# name: release
162+
# url: https://pypi.org/p/object-store-rs
163+
# permissions:
164+
# # IMPORTANT: this permission is mandatory for trusted publishing
165+
# id-token: write
166+
if: startsWith(github.ref, 'refs/tags/')
167+
needs: [linux, musllinux, windows, macos]
168+
steps:
169+
- uses: actions/download-artifact@v4
170+
with:
171+
pattern: wheels-*-object-store-rs
172+
merge-multiple: true
173+
path: dist
174+
- uses: actions/setup-python@v4
175+
with:
176+
python-version: 3.9
179177

180-
# - uses: pypa/gh-action-pypi-publish@release/v1
181-
# with:
182-
# user: __token__
183-
# password: ${{ secrets.PYPI_API_TOKEN }}
178+
- uses: pypa/gh-action-pypi-publish@release/v1
179+
with:
180+
user: __token__
181+
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)