@@ -92,18 +92,16 @@ jobs:
92
92
fail-fast : false
93
93
matrix :
94
94
os : [ubuntu-latest, windows-latest]
95
- python-version : ['3.8', '3.9', '3.10', '3.11', '3.12']
96
- target : ['all', 'installer']
95
+ python-version : ['3.10', '3.11', '3.12']
97
96
steps :
98
97
- name : Build wheelhouse and perform smoke test
99
- uses : ansys/actions/build-wheelhouse@v8
98
+ uses : ansys/actions/build-wheelhouse@v9
100
99
with :
101
100
library-name : ${{ env.PACKAGE_NAME }}
102
101
operating-system : ${{ matrix.os }}
103
102
python-version : ${{ matrix.python-version }}
104
- target : ${{ matrix.target }}
103
+ target : ' all '
105
104
attest-provenance : true
106
-
107
105
- name : Import python package
108
106
run : |
109
107
python -c "import ansys.aedt.core; from ansys.aedt.core import __version__"
@@ -570,11 +568,19 @@ jobs:
570
568
id-token : write
571
569
contents : write
572
570
steps :
573
- - name : Release to the public PyPI repository
574
- uses : ansys/ actions/release-pypi-public@v8
571
+ - name : Download the library artifacts from build-library step
572
+ uses : actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
575
573
with :
576
- library-name : ${{ env.PACKAGE_NAME }}
577
- use-trusted-publisher : true
574
+ name : ${{ env.PACKAGE_NAME }}-artifacts
575
+ path : ${{ env.PACKAGE_NAME }}-artifacts
576
+
577
+ - name : Release to PyPI using trusted publisher
578
+ uses : pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
579
+ with :
580
+ repository-url : " https://upload.pypi.org/legacy/"
581
+ print-hash : true
582
+ packages-dir : ${{ env.PACKAGE_NAME }}-artifacts
583
+ skip-existing : false
578
584
579
585
- name : Release to GitHub
580
586
uses : ansys/actions/release-github@v8
0 commit comments