Skip to content

Commit

Permalink
💚 ci: stop publishing wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
jzazo committed Oct 28, 2024
1 parent 9a20eaf commit 08d22c7
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,25 +30,25 @@ jobs:
name: wheels
path: "dist/*.whl"

publish-wheels:
needs: [build-wheels]
runs-on: ubuntu-latest
name: publish-wheels
if: github.ref_name == 'main'
environment:
name: pypi
url: https://pypi.org/p/cookie-doh
permissions:
id-token: write
steps:
- name: download-wheels
uses: actions/download-artifact@v4
with:
name: wheels
path: dist/

- name: publish-wheels
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
# publish-wheels:
# needs: [build-wheels]
# runs-on: ubuntu-latest
# name: publish-wheels
# if: github.ref_name == 'main'
# environment:
# name: pypi
# url: https://pypi.org/p/cookie-doh
# permissions:
# id-token: write
# steps:
# - name: download-wheels
# uses: actions/download-artifact@v4
# with:
# name: wheels
# path: dist/

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

0 comments on commit 08d22c7

Please sign in to comment.