Skip to content

Commit ac2db15

Browse files
committed
chore(release): 0.1.12
1 parent b1ee992 commit ac2db15

File tree

2 files changed

+327
-6
lines changed

2 files changed

+327
-6
lines changed

.github/workflows/release.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,20 @@ jobs:
4848
if: github.event_name == 'push' && github.ref == 'refs/heads/main' && !contains(github.event.head_commit.message, 'chore(release):')
4949
runs-on: ubuntu-latest
5050
steps:
51-
- uses: actions/setup-python@v2
51+
- uses: actions/setup-python@v4
5252
with:
5353
python-version: 3.9
5454
- name: Checkout code
5555
uses: actions/checkout@v4
56-
- name: Python Semantic Release
57-
uses: python-semantic-release/python-semantic-release@v7.33.2
5856
with:
59-
github_token: ${{ secrets.GH_TOKEN }}
60-
repository_username: ${{ secrets.PYPI_USER }}
61-
repository_password: ${{ secrets.PYPI_SECRET }}
57+
fetch-depth: 0
58+
- name: Install uv
59+
run: |
60+
python -m pip install --upgrade pip
61+
pip install uv
62+
- name: Build package
63+
run: uv build
64+
- name: Publish to PyPI
65+
env:
66+
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_TOKEN }}
67+
run: uv publish

0 commit comments

Comments
 (0)