We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ecb27ef commit 8b15c65Copy full SHA for 8b15c65
.github/workflows/ci.yml
@@ -93,6 +93,12 @@ jobs:
93
packaging:
94
needs: ci
95
runs-on: ubuntu-latest
96
+ environment:
97
+ name: PyPI
98
+ url: https://pypi.org/p/jsonschema
99
+ permissions:
100
+ contents: write
101
+ id-token: write
102
103
steps:
104
- uses: actions/checkout@v3
@@ -109,8 +115,6 @@ jobs:
109
115
- name: Publish to PyPI
110
116
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
111
117
uses: pypa/gh-action-pypi-publish@release/v1
112
- with:
113
- password: ${{ secrets.pypi_password }}
114
118
- name: Create a Release
119
120
uses: softprops/action-gh-release@v1
0 commit comments