2021-04-02 15:40:44 -05:00
|
|
|
name: 'Test Composite Action'
|
|
|
|
description: 'Test Composite Action'
|
|
|
|
inputs:
|
|
|
|
input:
|
|
|
|
description: 'String to echo'
|
|
|
|
required: true
|
|
|
|
default: 'Hello World'
|
|
|
|
outputs:
|
|
|
|
output:
|
|
|
|
description: 'Output string'
|
|
|
|
value: ${{ steps.set-output.outputs.string }}
|
|
|
|
runs:
|
2021-08-09 11:07:26 -05:00
|
|
|
using: 'composite'
|
2021-04-02 15:40:44 -05:00
|
|
|
steps:
|
|
|
|
- run: echo Hello ${{ inputs.input }}.
|
|
|
|
shell: bash
|
|
|
|
- id: set-output
|
|
|
|
run: echo "::set-output name=string::output string"
|
|
|
|
shell: bash
|
|
|
|
- run: |
|
|
|
|
${{ github.action_path }}/script.sh
|
|
|
|
shell: bash
|