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