Skip to content

Commit 92ecbd7

Browse files
authored
Create action.yml
1 parent 84f36b8 commit 92ecbd7

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/action.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Choose Env Demo
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
environment:
7+
type: environment
8+
description: Select the environment
9+
boolean:
10+
type: boolean
11+
description: True or False
12+
choice:
13+
type: choice
14+
description: Make a choice
15+
options:
16+
- foo
17+
- bar
18+
- baz
19+
jobs:
20+
build:
21+
runs-on: ubuntu-latest
22+
23+
steps:
24+
- uses: actions/checkout@v2
25+
26+
- name: greet
27+
run: |
28+
echo "environment is ${{ github.event.inputs.environment }}"
29+
echo "boolean is ${{ github.event.inputs.boolean }}"
30+
echo "choice is ${{ github.event.inputs.choice }}"

0 commit comments

Comments
 (0)