From ddae741b72b7d9acde3f7a1283470ed34d8aef63 Mon Sep 17 00:00:00 2001 From: Dhruv Manilawala Date: Fri, 1 Nov 2024 20:24:29 +0530 Subject: [PATCH] Switch to `uv publish` (#14042) ## Summary Ref: https://github.com/astral-sh/uv/pull/8065 ## Test Plan Going to re-release `0.7.2` which failed: https://github.com/astral-sh/ruff/actions/runs/11630280069 --- .github/workflows/publish-pypi.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml index 4e250f24e013b..459cbf5e42702 100644 --- a/.github/workflows/publish-pypi.yml +++ b/.github/workflows/publish-pypi.yml @@ -21,14 +21,12 @@ jobs: # For PyPI's trusted publishing. id-token: write steps: + - name: "Install uv" + uses: astral-sh/setup-uv@v3 - uses: actions/download-artifact@v4 with: pattern: wheels-* path: wheels merge-multiple: true - name: Publish to PyPi - uses: pypa/gh-action-pypi-publish@release/v1 - with: - skip-existing: true - packages-dir: wheels - verbose: true + run: uv publish -v wheels/*