Skip to content

Commit 60de278

Browse files
committed
try actions change to output pdf
1 parent ffc46a7 commit 60de278

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/draft-pdf.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Draft PDF
2-
on: [push]
2+
on:
3+
push:
4+
paths:
5+
- joss/**
6+
- .github/workflows/draft-pdf.yml
37

48
jobs:
59
paper:
@@ -8,17 +12,15 @@ jobs:
812
steps:
913
- name: Checkout
1014
uses: actions/checkout@v4
15+
1116
- name: Build draft PDF
12-
uses: openjournals/openjournals-draft-action@master
17+
uses: openjournals/openjournals-draft-pdf@master
1318
with:
1419
journal: joss
15-
# This should be the path to the paper within your repo.
1620
paper-path: joss/paper_sparse.md
17-
- name: Upload
21+
22+
- name: Upload PDF
1823
uses: actions/upload-artifact@v4
1924
with:
2025
name: paper_sparse
21-
# This is the output path where Pandoc will write the compiled
22-
# PDF. Note, this should be the same directory as the input
23-
# paper.md
2426
path: joss/paper_sparse.pdf

0 commit comments

Comments
 (0)