Skip to content

Commit ba811a7

Browse files
fix(package-release): publish with uv
Signed-off-by: Cameron Smith <cameron.ray.smith@gmail.com>
1 parent c395b45 commit ba811a7

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/package-release.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,12 @@ jobs:
201201

202202
- name: Publish to PyPI
203203
if: ${{ steps.semantic-release.outputs.new_release_published == 'true' && inputs.release-dry-run != 'true' }}
204-
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # ratchet:pypa/gh-action-pypi-publish@release/v1
205-
with:
206-
packages-dir: dist
204+
# uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # ratchet:pypa/gh-action-pypi-publish@release/v1
205+
run: uv publish
206+
env:
207+
UV_PUBLISH_TOKEN: ${{ secrets.UV_PUBLISH_TOKEN }}
208+
# with:
209+
# packages-dir: dist
207210

208211
- name: Minimize uv cache
209212
run: uv cache prune --ci

0 commit comments

Comments
 (0)