diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a7690fb..e22be40 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -228,17 +228,8 @@ jobs: with: python-version: ${{ env.PYTHON_VERSION }} - - name: Install maturin - run: pip install maturin - - name: 🚀 Publish all artifacts to PyPI - env: - MATURIN_PYPI_TOKEN: ${{ secrets.MATURIN_PYPI_TOKEN }} - # UV_PUBLISH_TOKEN: ${{ secrets.MATURIN_PYPI_TOKEN }} - # Maturin finds all files in the directory passed via the --find-wheel option. - # It automatically skips existing files and publishes everything it finds. - # run: maturin publish --skip-existing --repository pypi --username __token__ --password ${{ secrets.MATURIN_PYPI_TOKEN }} - run: uv publish dist --token ${{ secrets.MATURIN_PYPI_TOKEN }} *.whl *.tar.gz **/*.whl **/*.tar.gz dist/* + run: uv publish dist/* --token ${{ secrets.MATURIN_PYPI_TOKEN }} # pypi-publish: # runs-on: ubuntu-latest # needs: [version-bump] diff --git a/.github/workflows/tag-release.yml b/.github/workflows/tag-release.yml index c061716..836503b 100644 --- a/.github/workflows/tag-release.yml +++ b/.github/workflows/tag-release.yml @@ -93,4 +93,4 @@ jobs: python-version: ${{ env.PYTHON_VERSION }} - name: Publish to PyPI - run: uv publish dist --token ${{ secrets.MATURIN_PYPI_TOKEN }} *.whl dist/* \ No newline at end of file + run: uv publish dist/* --token ${{ secrets.MATURIN_PYPI_TOKEN }} \ No newline at end of file