Skip to content

Commit

Permalink
remove upload_pypi from ci
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarhiggott committed Jul 25, 2024
1 parent 24a156c commit db616b4
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -251,19 +251,19 @@ jobs:
run: pytest tests --cov=./src/pymatching --cov-report=xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
upload_pypi:
needs: [build_wheels, build_sdist]
runs-on: ubuntu-latest
environment: pypi
permissions:
id-token: write
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
steps:
- uses: actions/download-artifact@v4
with:
# unpacks all CIBW artifacts into dist/
pattern: cibw-*
path: dist
merge-multiple: true
# upload_pypi:
# needs: [build_wheels, build_sdist]
# runs-on: ubuntu-latest
# environment: pypi
# permissions:
# id-token: write
# if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
# steps:
# - uses: actions/download-artifact@v4
# with:
# # unpacks all CIBW artifacts into dist/
# pattern: cibw-*
# path: dist
# merge-multiple: true

- uses: pypa/gh-action-pypi-publish@release/v1
# - uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit db616b4

Please sign in to comment.