We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5bc6f57 commit cfe4726Copy full SHA for cfe4726
.github/workflows/ci.yml
@@ -74,6 +74,12 @@ jobs:
74
packaging:
75
needs: ci
76
runs-on: ubuntu-latest
77
+ environment:
78
+ name: PyPI
79
+ url: https://pypi.org/p/referencing
80
+ permissions:
81
+ contents: write
82
+ id-token: write
83
84
steps:
85
- uses: actions/checkout@v3
@@ -88,8 +94,6 @@ jobs:
88
94
- name: Publish to PyPI
89
95
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
90
96
uses: pypa/gh-action-pypi-publish@release/v1
91
- with:
92
- password: ${{ secrets.pypi_password }}
93
97
- name: Create a Release
98
99
uses: softprops/action-gh-release@v1
0 commit comments