Skip to content

Commit 0cbfdcc

Browse files
committed
chore: update config
1 parent 8b73a04 commit 0cbfdcc

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ jobs:
5151
build-and-publish:
5252
runs-on: ubuntu-latest
5353
needs: [detect-package]
54-
environment: release
54+
environment: pypi-release
55+
permissions:
56+
id-token: write
5557
steps:
5658
- name: Checkout Repository
5759
uses: actions/checkout@v4
@@ -69,10 +71,8 @@ jobs:
6971

7072
- name: Build package
7173
run: |
72-
uv --package ${PACKAGE} build
74+
uv build --package ${PACKAGE}
7375
7476
- name: Publish to PyPI
75-
env:
76-
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_TOKEN }}
7777
run: |
78-
uv --package ${PACKAGE} publish
78+
uv publish

0 commit comments

Comments
 (0)