Skip to content

Commit 6e54a90

Browse files
committed
upload just pdf for prs
1 parent ba10201 commit 6e54a90

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/actions.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,13 @@ jobs:
2626
output-pdf: spec.pdf
2727
output-docx: spec.docx
2828

29-
- name: Upload to PR
29+
- name: Upload PDF to PR
3030
uses: actions/upload-artifact@master
3131
if: ${{ github.event_name == 'pull_request' }}
3232
with:
33-
name: preview
34-
path: |
35-
spec.pdf
36-
spec.docx
33+
path: spec.pdf
3734

38-
- name: Upload to release
35+
- name: Upload PDF and docx to release
3936
uses: svenstaro/upload-release-action@v2
4037
if: ${{ github.event_name == 'release' }}
4138
with:

0 commit comments

Comments
 (0)