File tree Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -49,23 +49,22 @@ jobs:
49
49
- name : Set up Python
50
50
uses : actions/setup-python@v2
51
51
with :
52
- python-version : 3.10
52
+ python-version : " 3.10"
53
53
54
54
- uses : actions/download-artifact@v2
55
55
56
56
- name : Display structure of downloaded files
57
57
run : ls -R
58
58
59
- # uncomment the following section to permit upload to public PyPI
60
-
61
- # - name: Upload to Public PyPi
62
- # run: |
63
- # pip install twine
64
- # twine upload --skip-existing ./**/*.whl
65
- # twine upload --skip-existing ./**/*.tar.gz
66
- # env:
67
- # TWINE_USERNAME: __token__
68
- # TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
59
+ - name : Upload to Private PyPi
60
+ run : |
61
+ pip install twine
62
+ twine upload --skip-existing ./**/*.whl
63
+ twine upload --skip-existing ./**/*.tar.gz
64
+ env :
65
+ TWINE_USERNAME : PAT
66
+ TWINE_PASSWORD : ${{ secrets.PYANSYS_PYPI_PRIVATE_PAT }}
67
+ TWINE_REPOSITORY_URL : https://pkgs.dev.azure.com/pyansys/_packaging/pyansys/pypi/upload
69
68
70
69
- name : Release
71
70
uses : softprops/action-gh-release@v1
You can’t perform that action at this time.
0 commit comments