File tree 5 files changed +434
-512
lines changed
5 files changed +434
-512
lines changed Original file line number Diff line number Diff line change @@ -15,17 +15,13 @@ jobs:
15
15
- uses : actions/setup-python@v5
16
16
with :
17
17
python-version : " 3.13"
18
- - name : Install Poetry
19
- uses : snok/install-poetry@v1
20
- with :
21
- version : 1.8.4
22
- virtualenvs-create : true
23
- virtualenvs-in-project : true
18
+ - name : Install uv
19
+ uses : astral-sh/setup-uv@v4
24
20
- name : Publish
25
21
env :
26
- PYPI_TOKEN : ${{ secrets.PYPI_TOKEN }}
22
+ UV_PUBLISH_TOKEN : ${{ secrets.PYPI_TOKEN }}
27
23
run : |
28
- poetry publish --username=__token__ --password="$PYPI_TOKEN" --build
24
+ uv build && uv publish
29
25
30
26
publish_release_note :
31
27
name : Publish release note
Original file line number Diff line number Diff line change 28
28
- uses : actions/setup-python@v5
29
29
with :
30
30
python-version : " 3.9"
31
- - name : Install Poetry
32
- uses : snok/install-poetry@v1
33
- with :
34
- version : 1.8.4
35
- virtualenvs-create : true
36
- virtualenvs-in-project : true
31
+ - name : Install uv
32
+ uses : astral-sh/setup-uv@v4
37
33
- name : Install dependencies
38
- run : |
39
- poetry install
34
+ run : uv sync --locked --dev
40
35
- name : Run nox
41
- run : |
42
- source .venv/bin/activate
43
- nox
36
+ run : uv run nox
You can’t perform that action at this time.
0 commit comments