File tree Expand file tree Collapse file tree 1 file changed +4
-17
lines changed Expand file tree Collapse file tree 1 file changed +4
-17
lines changed Original file line number Diff line number Diff line change 8383 runs-on : ubuntu-latest
8484 steps :
8585 - name : Set up Python
86- uses : actions/setup-python@v2
86+ uses : actions/setup-python@v4
8787 with :
8888 python-version : ${{ env.MAIN_PYTHON_VERSION }}
8989
@@ -92,27 +92,14 @@ jobs:
9292 - name : Display structure of downloaded files
9393 run : ls -R
9494
95- # uncomment the following section to permit upload to public PyPI
96-
97- # - name: Upload to Public PyPi
98- # run: |
99- # pip install twine
100- # twine upload --skip-existing ./**/*.whl
101- # twine upload --skip-existing ./**/*.tar.gz
102- # env:
103- # TWINE_USERNAME: __token__
104- # TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
105-
106- - name : Upload to Private PyPi
95+ - name : Upload to Public PyPi
10796 run : |
10897 pip install twine
10998 twine upload --skip-existing ./**/*.whl
11099 twine upload --skip-existing ./**/*.tar.gz
111100 env :
112- TWINE_USERNAME : PAT
113- TWINE_PASSWORD : ${{ secrets.PYANSYS_PYPI_PRIVATE_PAT }}
114- TWINE_REPOSITORY_URL : https://pkgs.dev.azure.com/pyansys/_packaging/pyansys/pypi/upload
115-
101+ TWINE_USERNAME : __token__
102+ TWINE_PASSWORD : ${{ secrets.PYPI_TOKEN }}
116103
117104 - name : Release
118105 uses : softprops/action-gh-release@v1
You can’t perform that action at this time.
0 commit comments