Skip to content

Commit

Permalink
initial files
Browse files Browse the repository at this point in the history
  • Loading branch information
UpcraftLP committed Apr 21, 2024
1 parent eae322d commit 4d36e1c
Show file tree
Hide file tree
Showing 11 changed files with 133,650 additions and 19,801 deletions.
17 changes: 0 additions & 17 deletions __tests__/index.test.ts

This file was deleted.

89 changes: 0 additions & 89 deletions __tests__/main.test.ts

This file was deleted.

25 changes: 0 additions & 25 deletions __tests__/wait.test.ts

This file was deleted.

44 changes: 31 additions & 13 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,41 @@
name: 'The name of your action here'
description: 'Provide a description here'
author: 'Your name or organization here'
name: 'Discord Release'
description:
'Posts a message to a Discord webhook with links to GitHub, Curseforge and
Modrinth projects'
author: 'Up'

# Add your action's branding here. This will appear on the GitHub Marketplace.
branding:
icon: 'heart'
color: 'red'
icon: 'message-square'
color: 'blue'

# Define your inputs here.
inputs:
milliseconds:
description: 'Your input description here'
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
default: '1000'
thumbnail-url:
description: 'The URL of the thumbnail to use'
required: false
notification-role-id:
description: 'The role ID to ping'
required: false

# Define your outputs here.
outputs:
time:
description: 'Your output description here'
message:
description: 'The message that was sent to the webhook'

runs:
using: node20
Expand Down
Loading

0 comments on commit 4d36e1c

Please sign in to comment.