From 61b3bc3039bb0c08cbcf9e1515f1f6c291fea47d Mon Sep 17 00:00:00 2001 From: technocore Date: Fri, 5 Jun 2026 01:06:04 +0000 Subject: [PATCH] fix(ci): correct malformed uv publish command in release workflows (closes #76) --- .github/workflows/release.yml | 11 +---------- .github/workflows/tag-release.yml | 2 +- 2 files changed, 2 insertions(+), 11 deletions(-) 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