We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 033ec7d commit e1e3883Copy full SHA for e1e3883
1 file changed
.github/workflows/pypi.yml
@@ -1,24 +1,18 @@
1
-name: bods-client-pypi
+name: Release
2
on:
3
push:
4
- tags: "*"
+ tags:
5
+ - v*
6
jobs:
- publish:
7
- name: publish
+ pypi:
8
+ name: Publish to PyPI
9
runs-on: ubuntu-latest
10
+ environment:
11
+ name: release
12
+ permissions:
13
+ id-token: write
14
steps:
15
- uses: actions/checkout@v4
- - name: Install uv
- uses: astral-sh/setup-uv@v5
- - name: Setup Python 3
- uses: actions/setup-python@v5
- with:
16
- python-version: "3.12"
17
- - name: Install dependencies
18
- run: |
19
- uv sync
20
- - name: Publish to pypi
21
- shell: bash
22
23
- uv build
24
- uv publish --trusted-publishing automatic
+ - uses: astral-sh/setup-uv@v5
+ - run: uv build
+ - run: uv publish --trusted-publishing always
0 commit comments