Update wheels.yml

This commit is contained in:
Akash Levy 2025-09-15 08:22:40 -07:00 committed by GitHub
parent 92ab03df0f
commit 5c68d0c153
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 21 additions and 21 deletions

View File

@ -122,24 +122,24 @@ jobs:
with:
name: python-wheels-${{ matrix.os.runner }}
path: ./wheelhouse/*.whl
upload_wheels:
name: Upload Wheels
runs-on: ubuntu-latest
# Specifying a GitHub environment is optional, but strongly encouraged
environment: pypi
permissions:
# IMPORTANT: this permission is mandatory for Trusted Publishing
id-token: write
needs: build_wheels
steps:
- uses: actions/download-artifact@v4
with:
path: "."
pattern: python-wheels-*
merge-multiple: true
- run: |
ls
mkdir -p ./dist
mv *.whl ./dist
- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1
# upload_wheels:
# name: Upload Wheels
# runs-on: ubuntu-latest
# # Specifying a GitHub environment is optional, but strongly encouraged
# environment: pypi
# permissions:
# # IMPORTANT: this permission is mandatory for Trusted Publishing
# id-token: write
# needs: build_wheels
# steps:
# - uses: actions/download-artifact@v4
# with:
# path: "."
# pattern: python-wheels-*
# merge-multiple: true
# - run: |
# ls
# mkdir -p ./dist
# mv *.whl ./dist
# - name: Publish
# uses: pypa/gh-action-pypi-publish@release/v1