forked from timothywarner/actions-cert-prep
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample.action.yml
34 lines (27 loc) · 972 Bytes
/
sample.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
name: 'Example GitHub Action'
description: 'This action performs an example task based on inputs and provides outputs.'
# Inputs define what user can pass to your action
inputs:
input1:
description: 'The first input parameter.'
required: true
default: 'default1'
input2:
description: 'The second input parameter.'
required: false
default: 'default2'
# Outputs define what this action provides to subsequent steps
outputs:
output1:
description: 'The first output parameter.'
output2:
description: 'The second output parameter.'
# The `runs` block defines the environment and command that runs when the action executes
runs:
using: 'docker' # This action runs in a Docker container
image: 'Dockerfile' # Path to the Dockerfile
# `entrypoint` and `args` can be used to define how the Docker container is executed
# entrypoint: '/path/to/entrypoint.sh'
# args:
# - '${{ inputs.input1 }}'
# - '${{ inputs.input2 }}'