File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed
.github/workflows/.github/workflows Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -35,22 +35,11 @@ jobs:
3535 - name : Checkout code
3636 uses : actions/checkout@v3
3737
38- - name : Build and publish to Test PyPI
39- if : ${{ (github.ref != 'refs/heads/main') && (github.event.label.name == 'release') }}
40- env :
41- TWINE_USERNAME : __token__
42- TWINE_PASSWORD : ${{ secrets.TEST_PYPI_TOKEN }}
43- run : |
44- make dist
45- ls dist/
46- tar tvf dist/dlclibrary-*.tar.gz
47- python3 -m twine upload --repository testpypi dist/*
48-
4938 - name : Build and publish to PyPI
5039 if : ${{ github.event_name == 'push' }}
5140 env :
5241 TWINE_USERNAME : __token__
53- TWINE_PASSWORD : ${{ secrets.PYPI_TOKEN }}
42+ TWINE_PASSWORD : ${{ secrets.TWINE_API_KEY }}
5443 run : |
5544 make dist
5645 ls dist/
You can’t perform that action at this time.
0 commit comments