-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaction.yml
33 lines (33 loc) · 920 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Open Journals Publishing Artifacts
description: Create PDF and XML files for an Open Journals paper
inputs:
journal:
description: Target journal, must be either "joss" or "jose"
required: false
default: joss
paper-path:
description: >-
Path to the main paper Markdown file, relative to the
project's root directory.
required: false
default: 'paper.md'
args:
description: |
Arguments to be passed to the openjournals/inara
Options:
-m ARTICLE_INFO_FILE path to the article's metadata info file
-o OUTPUT_FORMATS output formats (html/pdf/jats/crossref)
required: false
default: ''
runs:
using: docker
image: 'docker://openjournals/inara:1.1.5'
env:
GIT_SHA: $GITHUB_SHA
JOURNAL: ${{ inputs.journal }}
args:
- ${{ inputs.args }}
- ${{ inputs.paper-path }}
branding:
icon: file-text
color: blue