Skip to content

Commit 9ea7222

Browse files
committed
use trusted publishing
1 parent da703f7 commit 9ea7222

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/publish.yaml

+5-3
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,14 @@ jobs:
5858
# files in the draft release.
5959
environment: 'publish'
6060
runs-on: ubuntu-latest
61+
permissions:
62+
id-token: write
6163
steps:
6264
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
6365
- uses: pypa/gh-action-pypi-publish@2f6f737ca5f74c637829c0f5c3acd0e29ea5e8bf
6466
with:
65-
repository_url: https://test.pypi.org/legacy/
66-
packages_dir: artifact/
67+
repository-url: https://test.pypi.org/legacy/
68+
packages-dir: artifact/
6769
- uses: pypa/gh-action-pypi-publish@2f6f737ca5f74c637829c0f5c3acd0e29ea5e8bf
6870
with:
69-
packages_dir: artifact/
71+
packages-dir: artifact/

0 commit comments

Comments
 (0)