Skip to content

Commit

Permalink
Fix CI wheel publish (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebarron authored Oct 21, 2024
1 parent 42faf3b commit 04f1e59
Showing 1 changed file with 24 additions and 26 deletions.
50 changes: 24 additions & 26 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,30 +154,28 @@ jobs:
# name: wheels-sdist-object-store-rs
# path: dist

# release:
# runs-on: ubuntu-latest
# strategy:
# matrix:
# name: Release
# environment:
# name: release
# url: https://pypi.org/p/object-store-rs
# permissions:
# # IMPORTANT: this permission is mandatory for trusted publishing
# id-token: write
# if: startsWith(github.ref, 'refs/tags/')
# needs: [linux, windows, macos]
# steps:
# - uses: actions/download-artifact@v4
# with:
# pattern: wheels-*-object-store-rs
# merge-multiple: true
# path: dist
# - uses: actions/setup-python@v4
# with:
# python-version: 3.8
release:
runs-on: ubuntu-latest
name: Release
# environment:
# name: release
# url: https://pypi.org/p/object-store-rs
# permissions:
# # IMPORTANT: this permission is mandatory for trusted publishing
# id-token: write
if: startsWith(github.ref, 'refs/tags/')
needs: [linux, musllinux, windows, macos]
steps:
- uses: actions/download-artifact@v4
with:
pattern: wheels-*-object-store-rs
merge-multiple: true
path: dist
- uses: actions/setup-python@v4
with:
python-version: 3.9

# - uses: pypa/gh-action-pypi-publish@release/v1
# with:
# user: __token__
# password: ${{ secrets.PYPI_API_TOKEN }}
- uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 04f1e59

Please sign in to comment.