generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
46 lines (42 loc) · 1.23 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
name: 'Zipper Action'
description:
'Run any Zipper project from a GitHub Action, which really means you can run
arbitrary Typescript functions in serverless environment. Easy to test and
update outside of GitHub Actions.'
author: 'Zipper'
# Add your action's branding here. This will appear on the GitHub Marketplace.
branding:
icon: 'zap'
color: 'purple'
# Define your inputs here.
inputs:
applet-slug:
description: 'The slug of the Zipper Applet you want to run'
required: true
filename:
description: 'The handler that you want to run. Defaults to main.ts'
required: false
default: 'main.ts'
inputs:
descriptions:
'A JSON object of the inputs you want to send to the handler function.'
required: true
zipper-access-token:
description:
'A Zipper Applet access token that has permission to run the applet (if it
requires auth)'
required: false
await:
description:
'Awaits the handler function before completing the GitHub Action run'
required: false
default: true
# Define your outputs here.
outputs:
result:
description:
'The result of your applet run. Returns a boolean status if `await` is
false.'
runs:
using: node20
main: dist/index.js