Skip to content

Commit

Permalink
Create action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
akbast authored Sep 27, 2021
0 parents commit 4a04a21
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: 'Goodbye World'
description: 'Say goodbye to someone'
inputs:
who-to-say-goodbye: # id of input
description: 'Who to say goodbye'
required: true
default: 'World'
outputs:
random-number:
description: "Random number"
value: ${{ steps.random-number-generator.outputs.random-id }}
runs:
using: "composite"
steps:
- run: echo Goodbye ${{ inputs.who-to-greet }}.
shell: bash
- id: random-number-generator
run: echo "::set-output name=random-id::$(echo $RANDOM)"
shell: bash

0 comments on commit 4a04a21

Please sign in to comment.