Skip to content

Commit 6c5a891

Browse files
committed
ci: use uv from PATH instead of ~/.cargo/bin
1 parent e3b6dc4 commit 6c5a891

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This workflow publishes the package to PyPI when a release tag is pushed
22

3-
name: Publish Python Package
3+
name: PyPI
44

55
on:
66
push:
@@ -22,9 +22,9 @@ jobs:
2222
run: curl -LsSf https://astral.sh/uv/install.sh | sh
2323

2424
- name: Build package
25-
run: ~/.cargo/bin/uv build --out dist/
25+
run: uv build --out dist/
2626

2727
- name: Publish package
2828
env:
2929
UV_PUBLISH_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
30-
run: ~/.cargo/bin/uv publish --user __token__ dist/*
30+
run: uv publish --user __token__ dist/*

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# url-normalize
22

3+
[![CI](https://github.com/niksite/url-normalize/actions/workflows/ci.yml/badge.svg)](https://github.com/niksite/url-normalize/actions/workflows/ci.yml)
4+
[![PyPI](https://github.com/niksite/url-normalize/actions/workflows/publish.yml/badge.svg)](https://github.com/niksite/url-normalize/actions/workflows/publish.yml)
5+
36
URI Normalization function:
47

58
* Take care of IDN domains.

0 commit comments

Comments
 (0)