forked from xuanxu/publishing-artifacts-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
33 lines (33 loc) · 905 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: NeuroLibre Summary PDF Actions
description: Create PDF and XML files for a NeuroLibre preprint
inputs:
journal:
description: Target journal, set to "neurolibre"
required: false
default: neurolibre
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 neurolibre/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://neurolibre/inara:latest'
env:
GIT_SHA: $GITHUB_SHA
JOURNAL: ${{ inputs.journal }}
args:
- ${{ inputs.args }}
- ${{ inputs.paper-path }}
branding:
icon: file-text
color: red