generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
43 lines (42 loc) · 1.38 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
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# Copyright (c) 2011-2020 ETH Zurich.
name: 'create-nightly-release'
description: 'GitHub action to create a new pre-release and delete old pre-releases created by this action'
inputs:
tag_name:
description: 'The name of the tag.'
required: true
release_name:
description: 'The name of the release. For example, `Release v1.0.1`'
required: true
body:
description: 'Text describing the release.'
required: false
body_path:
description: 'Path to a file whose content should be used as release body.'
required: false
keep_num:
description: 'Number of pre-releases that should be kept in addition to the newly created one.'
required: false
default: '0'
keep_tags:
description: 'Specifies whether tags should be deleted if the corresponding release is deleted.'
required: false
default: false
outputs:
id:
description: 'The ID of the created Release'
html_url:
description: 'The URL users can navigate to in order to view the release'
upload_url:
description: 'The URL for uploading assets to the release'
runs:
using: 'node12'
main: 'dist/main/index.js'
post: 'dist/post/index.js'
branding:
icon: 'tag'
color: 'gray-dark'