generated from im-open/javascript-action-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
61 lines (59 loc) · 2.44 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
name: create-release
description: Create a release for a tag in your repository
author: GitHub
inputs:
github-token:
description: 'A token with permission to create and delete releases. Generally secrets.GITHUB_TOKEN.'
required: true
tag-name:
description: 'The name of the tag.'
required: true
release-name:
description: 'The name of the release. Defaults to the tag name if not provided.'
required: false
commitish:
description: 'Specifies the commitish value that identifies the commit to tag. Can be any branch or commit SHA.'
required: true
body:
description: 'Text describing the contents of the release.'
required: false
body-path:
description: 'Path to file with information about the release.'
required: false
draft:
description: 'Flag indicating whether to create a draft (unpublished) release or a published one. Accepted Values: `true|false`. Default: `false`.'
required: false
default: 'false'
prerelease:
description: 'Flag indicating whether this release is a pre-release or a full release. Accepted Values: `true|false`. Default: `false`.'
required: false
default: 'false'
delete-existing-release:
description: 'Flag indicating whether to delete then re-create a release if it already exists. Accepted Values: `true|false`. Default: `false`.'
required: false
default: 'false'
generate-release-notes:
description: 'Flag indicating whether to auto-generate release notes for the release. Accepted Values: `true|false`. Default: `false`.'
required: false
default: 'false'
asset-path:
description: 'The path to the asset you want to upload. Required when uploading an asset.'
required: false
asset-name:
description: 'The name of the asset you want to upload. Required when uploading an asset.'
required: false
asset-content-type:
description: 'The content-type of the asset you want to upload. See the supported Media Types here: https://www.iana.org/assignments/media-types/media-types.xhtml for more information. Required when uploading an asset.'
required: false
outputs:
release-id:
description: 'Release ID'
release-html-url:
description: 'URL to the Release HTML Page'
asset-upload-url:
description: 'URL for uploading assets to the release'
asset-browser-download-url:
description: 'URL users can navigate to in order to download the uploaded asset'
runs:
using: 'node20'
main: 'dist/index.js'