File tree Expand file tree Collapse file tree 2 files changed +16
-16
lines changed Expand file tree Collapse file tree 2 files changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -19,20 +19,20 @@ jobs:
1919 steps :
2020 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2121
22- - name : Install Poetry
23- run : pipx install poetry==1.8.5
22+ - name : Install uv
23+ uses : astral-sh/setup-uv@22695119d769bdb6f7032ad67b9bca0ef8c4a174 # v5
2424
25- - name : Set up Python 3.10
25+ - name : Install Python
2626 uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
2727 with :
28- python-version : ' 3.10 '
29- cache : ' poetry '
28+ enable-cache : true
29+ cache-dependency-glob : " uv.lock " # Update cache if uv.lock changes
3030
31- - name : Install dependencies
32- run : poetry install --only main
31+ - name : Install the project
32+ run : uv sync
3333
3434 - name : Build package
35- run : poetry build
35+ run : uv build
3636
3737 - name : Publish package
3838 uses : pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
Original file line number Diff line number Diff line change @@ -19,20 +19,20 @@ jobs:
1919 steps :
2020 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2121
22- - name : Install Poetry
23- run : pipx install poetry==1.8.5
22+ - name : Install uv
23+ uses : astral-sh/setup-uv@22695119d769bdb6f7032ad67b9bca0ef8c4a174 # v5
2424
25- - name : Set up Python 3.10
25+ - name : Install Python
2626 uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
2727 with :
28- python-version : ' 3.10 '
29- cache : ' poetry '
28+ enable-cache : true
29+ cache-dependency-glob : " uv.lock " # Update cache if uv.lock changes
3030
31- - name : Install dependencies
32- run : poetry install --only main
31+ - name : Install the project
32+ run : uv sync
3333
3434 - name : Build package
35- run : poetry build
35+ run : uv build
3636
3737 - name : Publish package
3838 uses : pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
You can’t perform that action at this time.
0 commit comments