Skip to content

Commit

Permalink
upload just pdf for prs
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisfenner committed Jan 29, 2024
1 parent ba10201 commit 6e54a90
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,13 @@ jobs:
output-pdf: spec.pdf
output-docx: spec.docx

- name: Upload to PR
- name: Upload PDF to PR
uses: actions/upload-artifact@master
if: ${{ github.event_name == 'pull_request' }}
with:
name: preview
path: |
spec.pdf
spec.docx
path: spec.pdf

- name: Upload to release
- name: Upload PDF and docx to release
uses: svenstaro/upload-release-action@v2
if: ${{ github.event_name == 'release' }}
with:
Expand Down

0 comments on commit 6e54a90

Please sign in to comment.