Skip to content

Commit ac13e11

Browse files
committed
fix: bump versioning and add environment
1 parent 76eb8cc commit ac13e11

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ jobs:
6161
concurrency: release
6262
permissions:
6363
id-token: write
64+
environment:
65+
name: pypi
66+
url: https://pypi.org/project/python-roborock/
6467

6568
steps:
6669
- uses: actions/checkout@v4
@@ -75,7 +78,10 @@ jobs:
7578
github_token: ${{ secrets.GITHUB_TOKEN }}
7679

7780
- name: Publish package distributions to PyPI
78-
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+
7985
# NOTE: DO NOT wrap the conditional in ${{ }} as it will always evaluate to true.
8086
# See https://github.com/actions/runner/issues/1173
8187
if: steps.release.outputs.released == 'true'

0 commit comments

Comments
 (0)