Skip to content

Commit

Permalink
add action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Mar 8, 2021
1 parent 25c23b0 commit ff24407
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ff24407

Please sign in to comment.