File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,28 +23,24 @@ jobs:
2323 steps :
2424 - name : ⤵️ Check out code from GitHub
2525 uses : actions/checkout@v4.2.2
26- - name : 🏗 Set up Poetry
27- run : pipx install poetry
26+ - name : 🏗 Set up uv
27+ run : pipx install uv
2828 - name : 🏗 Set up Python ${{ env.DEFAULT_PYTHON }}
2929 id : python
3030 uses : actions/setup-python@v5.6.0
3131 with :
3232 python-version : ${{ env.DEFAULT_PYTHON }}
33- cache : ' poetry'
34- - name : 🏗 Install workflow dependencies
35- run : |
36- poetry config virtualenvs.create true
37- poetry config virtualenvs.in-project true
33+ cache : ' uv'
3834 - name : 🏗 Install dependencies
39- run : poetry install --no-interaction
35+ run : uv sync
4036 - name : 🏗 Set package version
4137 run : |
4238 version="${{ github.event.release.tag_name }}"
4339 version="${version,,}"
4440 version="${version#v}"
45- poetry version --no-interaction " ${version}"
41+ sed -i '0,/ version = ".*"/{s/version = ".*"/version = "'" ${version}"'"/}' pyproject.toml
4642 - name : 🏗 Build package
47- run : poetry build --no-interaction
43+ run : uv build
4844 - name : 🚀 Publish to PyPi
4945 uses : pypa/gh-action-pypi-publish@v1.12.4
5046 with :
You can’t perform that action at this time.
0 commit comments