-
Notifications
You must be signed in to change notification settings - Fork 3
/
action.yml
45 lines (45 loc) · 1.81 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
name: zenodraft
branding:
icon: upload-cloud
color: yellow
description: Draft a deposition on Zenodo or Zenodo Sandbox
inputs:
concept:
description: Create the new deposition as a new version in this concept.
required: false
default: ''
compression:
description: Which compression to use when making a snapshot of the entire repository (precludes use of argument 'filenames'). Valid options are 'zip' or 'tar.gz'.
required: false
default: zip
filenames:
description: List of space-separated filenames that should be upload separately instead of the default behavior of uploading a snapshot of the entire repository as an archive (precludes use of argument 'compression').
required: false
default: ''
metadata:
description: Filename that contains the metadata for the deposition in Zenodo metadata format.
required: false
default: ''
publish:
description: Publish the deposition. Beware, deposition contents cannot be changed once the deposition has been published.
required: false
default: false
upsert-doi:
description: Update the citation metadata file CITATION.cff with the draft deposition's prereserved doi before uploading any files to Zenodo or Zenodo Sandbox.
required: false
default: false
upsert-location:
description: Where to insert the prereserved doi value in CITATION.cff. Valid options are 'doi', 'identifiers', or 'identifiers[i]', where 'i' should be replaced with an integer index into the array 'identifiers'.
required: false
default: ''
sandbox:
description: Whether the deposition should be created on Zenodo Sandbox instead of Zenodo.
required: false
default: true
verbose:
description: Whether the logging should be verbose.
required: false
default: false
runs:
using: node20
main: lib/index.js