Skip to content

Commit

Permalink
CI: Create missing virtual enviroment in the publish job (#3748)
Browse files Browse the repository at this point in the history
The virtual environment was missing from the CI

---------

Co-authored-by: Sasha Lopoukhine <superlopuh@gmail.com>
  • Loading branch information
math-fehr and superlopuh authored Jan 13, 2025
1 parent 3553a77 commit c5a4d43
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,7 @@ jobs:
- name: Set up Python
run: uv python install 3.11

- name: Install dependencies
run: |
uv pip install setuptools wheel
- name: Build and publish
run: |
uv run setup.py sdist bdist_wheel
uv tool run twine upload -u __token__ -p ${{ secrets.PYPI_XDSL_TOKEN }} dist/*
uvx --with setuptools --with wheel setup.py sdist bdist_wheel
uvx twine upload -u __token__ -p ${{ secrets.PYPI_XDSL_TOKEN }} dist/*

0 comments on commit c5a4d43

Please sign in to comment.