mirror of https://code.forgejo.org/forgejo/act
23 lines
592 B
YAML
23 lines
592 B
YAML
name: "composite"
|
|
description: "composite"
|
|
|
|
inputs:
|
|
composite-input:
|
|
description: "value"
|
|
required: true
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: test input value
|
|
run: |
|
|
echo "input value 1=${{ inputs.composite-input }}"
|
|
[[ "${{ inputs.composite-input == 'value' }}" = "true" ]] || exit 1
|
|
shell: bash
|
|
- uses: nektos/act-test-actions/js@main
|
|
- name: test input value again
|
|
run: |
|
|
echo "input value 2=${{ inputs.composite-input }}"
|
|
[[ "${{ inputs.composite-input == 'value' }}" = "true" ]] || exit 1
|
|
shell: bash
|