This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
# Action: hello. Prints a greeting and CI info (example action).
|
||||
#
|
||||
# Inputs consumers set:
|
||||
# name optional default "world"
|
||||
#
|
||||
# Needs: bash on the runner.
|
||||
|
||||
name: hello
|
||||
description: Prints a greeting and CI info
|
||||
inputs:
|
||||
name:
|
||||
description: Name to greet
|
||||
required: false
|
||||
default: world
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: Run hello.sh
|
||||
shell: bash
|
||||
env:
|
||||
GREET_NAME: ${{ inputs.name }}
|
||||
run: '"${{ github.action_path }}/../../scripts/hello.sh" "$GREET_NAME"'
|
||||
Reference in New Issue
Block a user