forked from elgohr/Github-Release-Action
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
37 lines (35 loc) · 918 Bytes
/
action.yml
File metadata and controls
37 lines (35 loc) · 918 Bytes
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
name: "Create new release"
author: "action-pack"
branding:
icon: "tag"
color: "gray-dark"
description: "Action to create a Github release."
inputs:
title:
description: "The name of the release"
default: "Name"
required: false
body:
description: "The notes for the release"
required: false
tag:
description: "The tagname for the release"
required: false
commit:
description: "A commit hash or branch name to attach the release to"
required: false
token:
description: "Repository access token"
default: ${{ github.token }}
required: false
runs:
using: 'composite'
steps:
- run: $GITHUB_ACTION_PATH/entrypoint.sh
shell: bash
env:
INPUT_TAG: ${{ inputs.tag }}
INPUT_TITLE: ${{ inputs.title }}
INPUT_BODY: ${{ inputs.body }}
INPUT_TOKEN: ${{ inputs.token }}
INPUT_COMMIT: ${{ inputs.commit }}