-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
executable file
·45 lines (44 loc) · 1.49 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: 'Release'
description: 'Create github releases'
inputs:
token:
description: >
Personal access token (PAT) used to fetch the repository. The PAT is configured
with the local git config, which enables your scripts to run authenticated git
commands. The post-job step removes the PAT.
We recommend using a service account with the least permissions necessary.
Also when generating a new PAT, select the least scopes necessary.
[Learn more about creating and using encrypted secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets)
default: ${{ github.token }}
packageNamespace:
description: >
A string value that is namespace of package
default: ''
lastCommitMessage:
description: >
Last commit message
default: ${{ github.event.head_commit.message }}
slackToken:
description: >
Slack token
slackChannel:
description: >
Slack channel
slackMessageTitle:
description: >
Slack message title
releaseUrls:
description: >
A JSON map that the release urls.
(e.g. {"www": "https://www.example.com", "admin": "https://admin.example.com"})
outputs:
released:
description: >
A boolean value that can be checked whether a released or not.
releasedTags:
description: >
A JSON array that the released tags.
(e.g. ["www-1.210527.0", "swift-1.210527.1"])
runs:
using: 'node12'
main: 'dist/index.js'