File tree Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change 13
13
type : choice
14
14
options :
15
15
- ' v1.2.0'
16
+ - ' v1.3.45'
16
17
- ' latest-dev'
17
18
18
19
push :
@@ -194,7 +195,7 @@ jobs:
194
195
needs : [package, library-version]
195
196
runs-on : ubuntu-latest
196
197
steps :
197
- - uses : actions/download-artifact@v4
198
+ - uses : actions/download-artifact@v5
198
199
with :
199
200
name : ansys-hps-data-transfer-client-artifacts
200
201
path : /tmp/artifacts
@@ -239,11 +240,19 @@ jobs:
239
240
id-token : write
240
241
contents : write
241
242
steps :
242
- - name : Release to the public PyPI repository
243
- uses : ansys/ actions/release-pypi-public@v10
243
+ - name : " Download the library artifacts from build-library step "
244
+ uses : actions/download-artifact@v5
244
245
with :
245
- library-name : ${{ env.PACKAGE_NAME }}
246
- use-trusted-publisher : true
246
+ name : ${{ env.PACKAGE_NAME }}-artifacts
247
+ path : ${{ env.PACKAGE_NAME }}-artifacts
248
+
249
+ - name : " Upload artifacts to PyPI using trusted publisher"
250
+ uses : pypa/gh-action-pypi-publish@release/v1
251
+ with :
252
+ repository-url : " https://upload.pypi.org/legacy/"
253
+ print-hash : true
254
+ packages-dir : ${{ env.PACKAGE_NAME }}-artifacts
255
+ skip-existing : false
247
256
248
257
- name : Release to GitHub
249
258
uses : ansys/actions/release-github@v10
You can’t perform that action at this time.
0 commit comments