Skip to content

Commit 50cdb07

Browse files
committed
Add environment input to workflow and update output echo statement
1 parent 54e3476 commit 50cdb07

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/8-0-inputs.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ on:
2828
- option 1
2929
- option 2
3030
- option 3
31+
INPUT_ENVIRONMENT_1:
32+
type: environment
3133

3234
jobs:
3335
use_input_job:
@@ -40,3 +42,4 @@ jobs:
4042
echo "Input Number Value => ${{ github.event.inputs.INPUT_NUMBER_1 }}"
4143
echo "Input Boolean Value => ${{ github.event.inputs.INPUT_BOOLEAN_1 }}"
4244
echo "Input Choice Value => ${{ github.event.inputs.INPUT_CHOICE_1 }}"
45+
echo "Input environment Value => ${{ github.event.inputs.INPUT_ENVIRONMENT_1 }}"

0 commit comments

Comments
 (0)