Skip to content

Commit 7f6f842

Browse files
committed
Update release action
1 parent 04724af commit 7f6f842

1 file changed

Lines changed: 4 additions & 11 deletions

File tree

.github/workflows/ci-cd.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,13 @@ jobs:
1616
url: https://pypi.org/p/openpaygo
1717

1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v5
2020

21-
- name: Setup Python
22-
uses: actions/setup-python@v4
23-
with:
24-
python-version: 3.x
25-
26-
- name: Install dependencies
27-
run: |
28-
python -m pip install --upgrade pip
29-
pip install setuptools
21+
- name: Install uv
22+
uses: astral-sh/setup-uv@v7
3023

3124
- name: Generate package distribution
32-
run: python3 setup.py sdist
25+
run: uv build
3326

3427
- name: Publish package distributions to PyPI
3528
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)