-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaction.yml
40 lines (37 loc) · 1.3 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
name: Publish
author: Janina Wibker
description: An action that decides if a new release should be published
inputs:
increment-type:
description: The type of version increment to use when publishing, 'pre-release', 'patch', 'minor' and 'major' are supported
default: pre-release
relevant-files:
description: A stringified json array of file globs which classify files as relevant or not relevant, e.g. '[".github/**", "lib/**", "package.json"]'
required: true
package-json-file-path:
description: File path to relevant package.json file
default: 'package.json'
latest-registry-version:
description: The latest published version of the package to the registry (npm, gpr, etc.)
required: true
version-metadata-json:
description: The JSON output of the version-metadata action
required: true
package-name:
description: Turns `# publish` into `# publish - <package-name>` in the reason output. Purely cosmetic.
required: false
outputs:
publish:
description: whether or not to publish
version:
description: version to publish
reason:
description: actions summary detailing why a publish was triggered
json:
description: all of the above as stringified JSON
runs:
using: node20
main: 'dist/index.js'
branding:
icon: package
color: purple