From ff24407155aacf6eb25f1c9acb487559df6817a9 Mon Sep 17 00:00:00 2001 From: = <=> Date: Mon, 8 Mar 2021 13:30:18 +0100 Subject: [PATCH] add action.yml --- action.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 action.yml diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..12141db --- /dev/null +++ b/action.yml @@ -0,0 +1,21 @@ +name: 'Hello World' +description: 'Greet someone' +inputs: + who-to-greet: # id of input + description: 'Who to greet' + required: true + default: 'World' +outputs: + random-number: + description: "Random number" + value: ${{ steps.random-number-generator.outputs.random-id }} +runs: + using: "composite" + steps: + - run: echo Hello ${{ inputs.who-to-greet }}. + shell: bash + - id: random-number-generator + run: echo "::set-output name=random-id::$(echo $RANDOM)" + shell: bash + - run: ${{ github.action_path }}/runbdd.sh + shell: bash