File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88
99jobs :
1010 build :
11- environment : pyaki
11+ environment : cd-env
1212 runs-on : ubuntu-latest
1313 strategy :
1414 matrix :
@@ -28,27 +28,28 @@ jobs:
2828 path : |
2929 .venv
3030 ~/.cache/pip
31- ~/.cache/pypoetry
32- key : ${{ runner.os }}-venv-${{ hashFiles('poetry .lock') }}
31+ ~/.cache/uv
32+ key : ${{ runner.os }}-venv-${{ hashFiles('uv .lock') }}
3333
3434 - name : Install dependencies
3535 run : |
3636 python -m pip install --upgrade pip
37- pip install poetry
38- poetry install
37+ pip install uv
38+ uv sync
3939
4040 - name : Build and publish Package
4141 env :
42- POETRY_PYPI_TOKEN_PYPI : ${{ secrets.PYPI_TOKEN }}
43- if : ${{ env.POETRY_PYPI_TOKEN_PYPI }}
42+ UV_PUBLISH_TOKEN : ${{ secrets.PYPI_TOKEN }}
43+ if : ${{ env.UV_PUBLISH_TOKEN }}
4444 run : |
45- poetry version ${{ github.ref_name }}
46- poetry publish --skip-existing --build
45+ uv version ${{ github.ref_name }}
46+ uv build
47+ uv publish
4748
4849 - name : Install doc dependencies
4950 run : |
50- poetry install --with docs
51+ uv install --group docs
5152
5253 - name : Build and deploy Documentation
5354 run : |
54- poetry run mkdocs gh-deploy --force
55+ uv run mkdocs gh-deploy --force
You can’t perform that action at this time.
0 commit comments