We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92e744e commit d085978Copy full SHA for d085978
1 file changed
.github/workflows/deploy_release.yaml
@@ -11,18 +11,24 @@ jobs:
11
12
runs-on: ubuntu-24.04
13
14
+ permissions:
15
+ id-token: write # Required for trusted publishing
16
+ contents: read
17
+
18
steps:
- - uses: actions/checkout@v1
19
+ - uses: actions/checkout@v4
20
with:
21
fetch-depth: 20
22
- - name: sdist
23
+ - name: Set up Python
24
+ uses: actions/setup-python@v5
25
+ with:
26
+ python-version: '3.13'
27
28
+ - name: Build distribution
29
run: |
30
pip install build
31
python -m build --sdist .
32
- - name: Publish a Python distribution to PyPI
- uses: pypa/gh-action-pypi-publish@master
- with:
- user: __token__
- password: ${{ secrets.pypi_password }}
33
+ - name: Publish distribution to PyPI
34
+ uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments