Skip to content

Commit 501c9ab

Browse files
committed
Use ruff and uv
1 parent d77e87a commit 501c9ab

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,17 @@ jobs:
2020
- id: git-checkout
2121
name: Checkout
2222
uses: actions/checkout@v4
23+
- uses: actions/setup-python@v4
24+
with:
25+
python-version: "3.12"
26+
- name: Install uv
27+
run: pip install uv
2328
- id: build-and-publish
2429
name: Build and publish to pypi
25-
uses: JRubics/poetry-publish@v2.0
26-
with:
27-
pypi_token: ${{ secrets.PYPI_TOKEN }}
30+
env:
31+
TWINE_USERNAME: __token__
32+
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
33+
TWINE_NON_INTERACTIVE: "true"
34+
run: |
35+
uvx --from build pyproject-build
36+
uvx twine upload dist/*

0 commit comments

Comments
 (0)