File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Copyright (C) The DDC development team, see COPYRIGHT.md file
2+ #
3+ # SPDX-License-Identifier: MIT
4+
5+ ---
6+ name : Draft PDF
7+
8+ # yamllint disable-line rule:truthy
9+ on :
10+ push :
11+ paths :
12+ - ' .github/workflows/draft-pdf.yaml'
13+ - paper/**
14+
15+ permissions :
16+ contents : read
17+
18+ jobs :
19+ paper :
20+ name : Paper Draft
21+ runs-on : ubuntu-latest
22+ steps :
23+ - name : Checkout
24+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
25+ - name : Build draft PDF
26+ uses : openjournals/openjournals-draft-action@85a18372e48f551d8af9ddb7a747de685fbbb01c # v1.0.0
27+ with :
28+ journal : joss
29+ # This should be the path to the paper within your repo.
30+ paper-path : paper/paper.md
31+ - name : Upload
32+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
33+ with :
34+ name : paper
35+ # This is the output path where Pandoc will write the compiled
36+ # PDF. Note, this should be the same directory as the input
37+ # paper.md
38+ path : paper/paper.pdf
You can’t perform that action at this time.
0 commit comments