generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f0046ae
commit 40ac333
Showing
4 changed files
with
68 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -101,3 +101,4 @@ __tests__/runner/* | |
.idea | ||
.vscode | ||
*.code-workspace | ||
.secrets |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,27 @@ | ||
name: 'The name of your action here' | ||
description: 'Provide a description here' | ||
author: 'Your name or organization here' | ||
|
||
# Define your inputs here. | ||
name: nats-publish | ||
description: Publishes a message to a NATS subject | ||
author: Operation Spark | ||
inputs: | ||
milliseconds: | ||
description: 'Your input description here' | ||
subject: | ||
description: The subject to publish to | ||
required: true | ||
message: | ||
description: The message to publish | ||
required: true | ||
default: '1000' | ||
default: '{}' | ||
urls: | ||
description: The NATS server URLs | ||
required: true | ||
jwt: | ||
description: The JWT to use for authentication | ||
required: false | ||
nKeySeed: | ||
description: The NKey seed to use to sign the JWT | ||
required: false | ||
|
||
# Define your outputs here. | ||
outputs: | ||
time: | ||
description: 'Your output description here' | ||
|
||
published: | ||
description: The published message | ||
runs: | ||
using: node20 | ||
main: dist/index.js |