We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6f562b1 + 7cab97d commit 85d51a8Copy full SHA for 85d51a8
.github/workflows/pypi-package.yml
@@ -35,6 +35,8 @@ jobs:
35
36
auto-release-test-pypi:
37
runs-on: ubuntu-latest
38
+ # Keep this value aligned with the TestPyPI trusted publisher configuration.
39
+ environment: "TestPyPI"
40
needs: [build-package]
41
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
42
permissions:
@@ -54,6 +56,7 @@ jobs:
54
56
55
57
auto-release-pypi:
58
59
+ # Keep this value aligned with the PyPI trusted publisher configuration.
60
environment: "Release"
61
62
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
0 commit comments