Skip to content

Commit 924e456

Browse files
committed
fix: cd
1 parent 521d87c commit 924e456

1 file changed

Lines changed: 12 additions & 11 deletions

File tree

.github/workflows/continuous_delivery.yaml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
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

0 commit comments

Comments
 (0)