We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8eac2f3 commit 4a37db4Copy full SHA for 4a37db4
1 file changed
.github/workflows/pypi-release.yml
@@ -11,11 +11,16 @@ on:
11
- "packages/python-sdk/**"
12
workflow_dispatch:
13
14
+permissions:
15
+ id-token: write
16
+ contents: read
17
+
18
concurrency: ${{ github.workflow }}-${{ github.ref }}
19
20
jobs:
21
release:
22
runs-on: ubuntu-latest
23
+ environment: pypi
24
defaults:
25
run:
26
working-directory: packages/python-sdk
@@ -39,8 +44,6 @@ jobs:
39
44
run: ls -la dist
40
45
41
46
- name: Publish to PyPI
42
- uses: pypa/gh-action-pypi-publish@v1.4.2
47
+ uses: pypa/gh-action-pypi-publish@release/v1
43
48
with:
- user: __token__
- password: ${{ secrets.PYPI_API_TOKEN }}
- packages_dir: packages/python-sdk/dist
49
+ packages-dir: packages/python-sdk/dist
0 commit comments