Skip to content

Commit dc6b114

Browse files
committedJan 3, 2025
add job to deploy
1 parent 8591722 commit dc6b114

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed
 

‎.github/workflows/pyhton.build_deploy.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ jobs:
106106
run: python3 setup.py sdist
107107
- uses: actions/upload-artifact@v4
108108
with:
109-
name: source_dist
109+
name: py_source_dist
110110
path: python-wrapper/dist/**
111111
if-no-files-found: error
112112
build_pages:
@@ -139,6 +139,24 @@ jobs:
139139
uses: actions/upload-pages-artifact@v3
140140
with:
141141
path: python-wrapper/docs/_build/html
142+
deploy_pypi:
143+
runs-on: "ubuntu-22.04"
144+
needs: ["py3p8_linux_sdist", "build"]
145+
steps:
146+
- uses: actions/download-artifact@v4
147+
with:
148+
path: python-wrapper/dist
149+
merge-multiple: true
150+
name: py_source_dist
151+
- uses: actions/download-artifact@v4
152+
with:
153+
path: python-wrapper/dist
154+
merge-multiple: true
155+
pattern: py_*_*_build
156+
- name: check artifacts
157+
run:
158+
cd python-wrapper
159+
ls
142160
deploy_pages:
143161
runs-on: "ubuntu-22.04"
144162
needs: build_pages

0 commit comments

Comments
 (0)