Skip to content

Commit 7a5a6f4

Browse files
[INITIAL COMMIT]
1 parent 4a9de7a commit 7a5a6f4

File tree

3 files changed

+25
-0
lines changed

3 files changed

+25
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.idea

action.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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-id }}
12+
runs:
13+
using: "composite"
14+
steps:
15+
- run: echo Hello ${{ inputs.who-to-greet }}.
16+
shell: bash
17+
- id: random-number-generator
18+
run: echo "::set-output name=random-id::$(echo $RANDOM)"
19+
shell: bash
20+
- run: echo "${{ github.action_path }}" >> $GITHUB_PATH
21+
shell: bash
22+
- run: goodbye.sh
23+
shell: bash

goodbye.sh

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
echo "Goodbye"

0 commit comments

Comments
 (0)