-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
56 lines (49 loc) · 1.39 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
48
49
50
51
52
53
54
55
56
# yaml-language-server: $schema=https://json.schemastore.org/github-action.json
# https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions
---
name: Environment Variables
description: 🔠 Fetch and use deployment environment variables without hitting deployment.
author: Dariusz Porowski
branding:
icon: dollar-sign # https://feathericons.com/
color: gray-dark
inputs:
# required
github-token:
description: GitHub token to use for API authentication
required: true
default: ${{ github.token }}
environment:
description: Deployment Environment name.
required: true
# optional
repository:
description: |
Full repository name in the {owner}/{repo} format.
Default: github.repository
required: false
default: ${{ github.repository }}
output-to:
description: |
Output to...
Supported options:
- env: Set environment variables
- action: Set action outputs
- all: Set both environment variables and action outputs
Default: all
required: false
default: 'all'
env-prefix:
description: |
Prefix for environment variables.
Default: not set
required: false
dry-run:
description: |
Whether or not to actually perform operation. Set to true for testing.
Default: false
required: false
default: 'false'
runs:
using: node20
main: dist/index.js