23 lines
505 B
YAML
23 lines
505 B
YAML
# 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"'
|