File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed
Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 11# This workflow publishes the package to PyPI when a release tag is pushed
22
3- name : Publish Python Package
3+ name : PyPI
44
55on :
66 push :
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 :
29- UV_PUBLISH_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
30- run : ~/.cargo/bin/ uv publish --user __token__ dist/*
29+ UV_PUBLISH_TOKEN : ${{ secrets.PYPI_API_TOKEN }}
30+ run : uv publish --user __token__ dist/*
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ test: install
1414 @uv run -- pytest
1515
1616build :
17+ @rm -rf dist
1718 @uv build
1819
1920publish : build
Original file line number Diff line number Diff line change 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+
36URI Normalization function:
47
58* Take care of IDN domains.
You can’t perform that action at this time.
0 commit comments