mirror of https://github.com/YosysHQ/yosys.git
Update wheels.yml
This commit is contained in:
parent
92ab03df0f
commit
5c68d0c153
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue