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
This commit is contained in:
Dhruv Manilawala 2024-11-01 20:24:29 +05:30 committed by GitHub
parent 5053d2c127
commit ddae741b72
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 5 deletions

View File

@ -21,14 +21,12 @@ jobs:
# For PyPI's trusted publishing. # For PyPI's trusted publishing.
id-token: write id-token: write
steps: steps:
- name: "Install uv"
uses: astral-sh/setup-uv@v3
- uses: actions/download-artifact@v4 - uses: actions/download-artifact@v4
with: with:
pattern: wheels-* pattern: wheels-*
path: wheels path: wheels
merge-multiple: true merge-multiple: true
- name: Publish to PyPi - name: Publish to PyPi
uses: pypa/gh-action-pypi-publish@release/v1 run: uv publish -v wheels/*
with:
skip-existing: true
packages-dir: wheels
verbose: true