File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed
Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -2,14 +2,16 @@ name: Publish to PyPI
22
33on :
44 workflow_call :
5- secrets :
6- PYPI_API_TOKEN :
7- required : true
85
96jobs :
107 publish :
118 name : Publish to PyPI
129 runs-on : ubuntu-latest
10+ environment :
11+ name : pypi
12+ url : https://pypi.org/p/paradox-alarm-interface
13+ permissions :
14+ id-token : write
1315 steps :
1416 - uses : actions/checkout@v4
1517 - name : Set up Python
2426 run : python -m build
2527 - name : Publish package
2628 uses : pypa/gh-action-pypi-publish@release/v1
27- with :
28- user : __token__
29- password : ${{ secrets.PYPI_API_TOKEN }}
Original file line number Diff line number Diff line change 2121 uses : ./.github/workflows/publish_pypi.yml
2222 needs : test
2323 if : github.repository == 'ParadoxAlarmInterface/pai'
24- secrets :
25- PYPI_API_TOKEN : ${{ secrets.PYPI_API_TOKEN }}
You can’t perform that action at this time.
0 commit comments