forked from megasanjay/upload-to-zenodo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
72 lines (65 loc) · 1.82 KB
/
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
name: Zenodo upload
author: Sanjay Soundarajan
description: GitHub action to upload a release to Zenodo with the relevant metadata
inputs:
github_token:
description: The GitHub token used to authenticated with GitHub.
required: false
default: ${{ github.token }}
zenodo_token:
description: The Zenodo token used to authenticated with Zenodo.
required: true
zenodo_deposition_id:
description: The Zenodo deposition ID.
required: true
zenodo_publish:
description: Whether to publish the deposition.
required: false
default: "false"
zenodo_sandbox:
description: Whether to upload to Zenodo sandbox or not.
required: false
default: "false"
committer_name:
description: Username for commits
required: false
default: ""
committer_email:
description: Email address for commits
required: false
default: ""
commit_message:
description: Template for commit messages
required: false
default: "chore: update ${file_name} for Zenodo release"
update_metadata_files:
description: Whether to update the metadata files
required: false
default: "true"
codemeta_json:
description: The JSON file containing the codemeta metadata
required: false
default: "false"
citation_cff:
description: The YAML file containing the citation metadata
required: false
default: "false"
zenodo_json:
description: The JSON file containing the Zenodo metadata
required: false
default: "false"
docs_compatibility_json:
description: The JSON file containing the compatibility documentation
required: false
default: "false"
outputs:
doi:
description: 'The Zenodo DOI'
version:
description: 'The version of the release'
runs:
using: 'node16'
main: 'dist/index.js'
branding:
icon: upload-cloud
color: blue