Skip to content

Commit

Permalink
change input names between workflow and action inputs to make it easi…
Browse files Browse the repository at this point in the history
…er to see
  • Loading branch information
gilzow committed Sep 18, 2023
1 parent e6b2b6d commit 7c13f74
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/actions/greet-user/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Welcomes someone to our party

inputs:
# The value here is how you will reference the input in the job steps
thename:
who_to_greet:
description: 'What is your name?'
type: string
required: true
Expand All @@ -15,4 +15,4 @@ runs:
id: greet-user
shell: bash
run: |
echo "::notice::Hello, ${{ inputs.thename }} from an action!!!"
echo "::notice::Hello, ${{ inputs.who_to_greet }} from an action!!!"
2 changes: 1 addition & 1 deletion .github/workflows/fifth.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ jobs:
- uses: actions/checkout@v3
- uses: ./.github/actions/greet-user
with:
thename: ${{ inputs.thename }}
who_to_greet: ${{ inputs.thename }}

0 comments on commit 7c13f74

Please sign in to comment.