File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 6565
6666 upload-pypi :
6767 runs-on : ubuntu-latest
68+ permissions :
69+ id-token : write
6870 steps :
6971 - uses : actions/checkout@v4
7072 with :
@@ -87,14 +89,10 @@ jobs:
8789
8890 - name : Publish package (to TestPyPI)
8991 if : github.event_name == 'workflow_dispatch' && github.repository == 'nRF24/CircuitPython_nRF24L01'
90- env :
91- TWINE_USERNAME : __token__
92- TWINE_PASSWORD : ${{ secrets.TEST_PYPI_TOKEN }}
93- run : twine upload --repository testpypi dist/*
92+ 93+ with :
94+ repository-url : https://test.pypi.org/legacy/
9495
9596 - name : Publish package (to PyPI)
9697 if : github.event_name != 'workflow_dispatch' && github.repository == 'nRF24/CircuitPython_nRF24L01'
97- env :
98- TWINE_USERNAME : __token__
99- TWINE_PASSWORD : ${{ secrets.PYPI_TOKEN }}
100- run : twine upload dist/*
98+
You can’t perform that action at this time.
0 commit comments