-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
27 lines (25 loc) · 856 Bytes
/
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
name: 'Example for GitHub Action Using TS'
description: 'A GitHub Action that handles text, lists, files, and API requests using Go, configured via TOML'
author: 'Mystic'
branding:
icon: 'activity' # Choose an icon
color: 'green' # Choose a color
runs:
using: 'node20'
main: 'dist/index.js'
inputs:
config_path:
description: 'Path to the TOML configuration file'
required: false
default: '.github/configs/setup-custom-action-by-ts.toml'
outputs:
processed_text:
description: 'The processed text after find and replace'
word_count:
description: 'The total number of words in the text'
sum:
description: 'The sum of the numbers'
average:
description: 'The average of the numbers'
response_field:
description: 'A specific field from the API response'