Skip to content

Commit

Permalink
CI: remove pypi publish
Browse files Browse the repository at this point in the history
  • Loading branch information
cdecker committed Feb 4, 2025
1 parent e58b40c commit c6915d3
Showing 1 changed file with 0 additions and 36 deletions.
36 changes: 0 additions & 36 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,39 +184,3 @@ jobs:
with:
name: wheels-win-${{ matrix.target }}
path: libs\gl-client-py\dist

publish:
runs-on: ubuntu-20.04
needs:
- source
- windows
- linux
- macos
if: github.ref == 'refs/heads/main'
steps:
- name: Download wheels
uses: actions/download-artifact@v4
with:
path: libs/gl-client-py/dist
pattern: libs/gl-client-py/dist-*
merge-multiple: true

- name: Install dependencies
run: |
sudo apt-get update -qq
sudo apt-get install python3-pip
sudo pip3 install -U \
uv
- name: Publish wheels to PyPI
env:
TWINE_USERNAME: __token__
run: |
cd libs/gl-client-py
uv tool run twine upload \
--skip-existing \
--non-interactive \
--verbose \
--username "__token__" \
--password "${{ secrets.TWINE_PASSWORD }}" \
dist/*.tar.gz dist/*.whl

0 comments on commit c6915d3

Please sign in to comment.