Skip to content

Commit 38e484f

Browse files
authored
fix release.yml (#1188)
* fix release.yml Signed-off-by: xadupre <xadupre@microsoft.com> * fix typo Signed-off-by: xadupre <xadupre@microsoft.com> --------- Signed-off-by: xadupre <xadupre@microsoft.com>
1 parent e237320 commit 38e484f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ jobs:
1919
deploy:
2020

2121
runs-on: ubuntu-latest
22+
permissions:
23+
id-token: write
2224
environment: release
2325
steps:
2426
- uses: actions/checkout@v4
@@ -36,6 +38,6 @@ jobs:
3638
run: python -m build
3739

3840
- name: Publish package
39-
uses: pypa/gh-action-pypi-publish@v1
41+
uses: pypa/gh-action-pypi-publish@release/v1
4042
with:
4143
attestations: true

0 commit comments

Comments
 (0)