File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 1313 types : [published]
1414
1515jobs :
16- deploy :
16+ publish :
1717 runs-on : ubuntu-latest
18+ permissions :
19+ id-token : write # IMPORTANT: this permission is mandatory for trusted publishing
20+
1821 steps :
1922 - uses : actions/checkout@v4
2023 - name : Set up Python
2124 uses : actions/setup-python@v5
2225 with :
2326 python-version : ' 3.11'
2427 cache-dependency-path : poetry.lock
28+
2529 - name : Install dependencies
2630 run : |
2731 python -m pip install --upgrade pip
2832 pip install build
33+
2934 - name : Build package
3035 run : python -m build
31- - name : Publish package
36+
37+ - name : Publish package to pypi
3238 uses : pypa/gh-action-pypi-publish@v1.8.14
3339 with :
34- user : __token__
35- password : ${{ secrets.PYPI_API_TOKEN }}
40+ print_hash : true
You can’t perform that action at this time.
0 commit comments