File tree Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ . * .swp
2
+ .DS_Store
Original file line number Diff line number Diff line change
1
+ name : ' Hello World'
2
+ description : ' Greet someone'
3
+ inputs :
4
+ who-to-greet : # id of input
5
+ description : ' Who to greet'
6
+ required : true
7
+ default : ' World'
8
+ outputs :
9
+ random-number :
10
+ description : " Random number"
11
+ value : ${{ steps.random-number-generator.outputs.random-number }}
12
+ runs :
13
+ using : " composite"
14
+ steps :
15
+ - name : Set Greeting
16
+ run : echo "Hello $INPUT_WHO_TO_GREET."
17
+ shell : bash
18
+ env :
19
+ INPUT_WHO_TO_GREET : ${{ inputs.who-to-greet }}
20
+
21
+ - name : Random Number Generator
22
+ id : random-number-generator
23
+ run : echo "random-number=$(echo $RANDOM)" >> $GITHUB_OUTPUT
24
+ shell : bash
25
+
26
+ - name : Set GitHub Path
27
+ run : echo "$GITHUB_ACTION_PATH" >> $GITHUB_PATH
28
+ shell : bash
29
+ env :
30
+ GITHUB_ACTION_PATH : ${{ github.action_path }}
31
+
32
+ - name : Run goodbye.sh
33
+ run : goodbye.sh
34
+ shell : bash
35
+
You can’t perform that action at this time.
0 commit comments