File tree Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Original file line number Diff line number Diff line change 3131 - name : Upload package
3232 uses : actions/upload-artifact@v3
3333 with :
34- name : ${{ env.PACKAGE_NAME }} -packages
34+ name : ansys-workbench-core -packages
3535 path : dist/
3636 retention-days : 7
3737
@@ -40,16 +40,27 @@ jobs:
4040 needs : [package]
4141 runs-on : ubuntu-latest
4242 steps :
43+ - name : Set up Python
44+ uses : actions/setup-python@v4
45+ with :
46+ python-version : ${{ env.MAIN_PYTHON_VERSION }}
47+
48+ - name : Download package
49+ uses : actions/download-artifact@v3
50+
51+ - name : Display structure of downloaded files
52+ run : ls -R
53+
4354 - name : Upload to Ansys private PyPI
4455 run : |
4556 pip install twine
46- twine upload --skip-existing ./** /*.whl
47- twine upload --skip-existing ./** /*.tar.gz
57+ twine upload --skip-existing ./ansys-workbench-core-packages /*.whl
58+ twine upload --skip-existing ./ansys-workbench-core-packages /*.tar.gz
4859 env :
4960 TWINE_USERNAME : __token__
5061 TWINE_PASSWORD : ${{ secrets.PYANSYS_PYPI_PRIVATE_PAT }}
5162 TWINE_REPOSITORY_URL : https://pkgs.dev.azure.com/pyansys/_packaging/pyansys/pypi/upload
52- - name : Release
63+ - name : Release it
5364 uses : softprops/action-gh-release@v1
5465 with :
5566 generate_release_notes : true
You can’t perform that action at this time.
0 commit comments