Skip to content

Commit 666a160

Browse files
committed
Add python distributions to artefacts
Signed-off-by: Pierre R. Mai <[email protected]>
1 parent a286b38 commit 666a160

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/protobuf.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,14 @@ jobs:
130130
path: doc/html
131131
if-no-files-found: error
132132

133-
- name: deploy to gh-pages if push to master branch
133+
- name: Upload Python Distribution
134+
if: ${{ github.event_name == 'pull_request' }}
135+
uses: actions/upload-artifact@v4
136+
with:
137+
name: python-dist
138+
path: dist/
139+
140+
- name: Deploy to gh-pages if push to master branch
134141
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
135142
uses: peaceiris/actions-gh-pages@v3
136143
with:

0 commit comments

Comments
 (0)