generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
47 lines (43 loc) · 1.17 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
name: 'Discord Release'
description:
'Posts a message to a Discord webhook with links to GitHub, Curseforge and
Modrinth projects'
author: 'Up'
branding:
icon: 'message-square'
color: 'blue'
inputs:
modrinth-project-id:
description: 'The project ID on Modrinth to link to'
required: false
curseforge-project-id:
description: 'The project ID on CurseForge to link to'
repository:
description: 'The source repository to link to'
required: false
project-name:
description: 'The name of the project'
required: false
version:
description: 'The display version'
required: false
webhook-url:
description: 'The webhook URL to send the message to'
required: true
thumbnail-url:
description: 'The URL of the thumbnail to use'
required: false
ping-notification-role:
description:
'Whether to ping the notification role, by default will only ping if the
version is not a pre-release'
required: false
notification-role-id:
description: 'The role ID to ping'
required: false
outputs:
message:
description: 'The message that was sent to the webhook'
runs:
using: node20
main: dist/index.js