We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9848bed commit 04e68e0Copy full SHA for 04e68e0
.github/workflows/python.yml
@@ -13,6 +13,9 @@ on:
13
concurrency: ${{ github.workflow }}-${{ github.ref }}
14
jobs:
15
build:
16
+ permissions:
17
+ id-token: write # for python PyPI OIDC login
18
+ contents: read
19
name: Python SDK
20
runs-on: ubuntu-22.04-8core-32gb
21
defaults:
@@ -48,10 +51,9 @@ jobs:
48
51
python -m piptools compile --upgrade pyproject.toml;
49
52
- name: Publish
50
53
if: github.ref == 'refs/heads/main'
- run: poetry publish -u $PYPI_USERNAME -p $PYPI_PASSWORD --skip-existing
- env:
- PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
54
- PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
+ uses: pypa/gh-action-pypi-publish@release/v1
55
+ with:
56
+ skip-existing: true
57
58
e2e:
59
name: Validate E2E tests
0 commit comments