We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76eb8cc commit ac13e11Copy full SHA for ac13e11
.github/workflows/ci.yml
@@ -61,6 +61,9 @@ jobs:
61
concurrency: release
62
permissions:
63
id-token: write
64
+ environment:
65
+ name: pypi
66
+ url: https://pypi.org/project/python-roborock/
67
68
steps:
69
- uses: actions/checkout@v4
@@ -75,7 +78,10 @@ jobs:
75
78
github_token: ${{ secrets.GITHUB_TOKEN }}
76
79
77
80
- name: Publish package distributions to PyPI
- uses: pypa/gh-action-pypi-publish@v1
81
+ uses: pypa/gh-action-pypi-publish@v1.12.2
82
+ with:
83
+ password: ${{ secrets.PYPI_TOKEN }}
84
+
85
# NOTE: DO NOT wrap the conditional in ${{ }} as it will always evaluate to true.
86
# See https://github.com/actions/runner/issues/1173
87
if: steps.release.outputs.released == 'true'
0 commit comments