summaryrefslogtreecommitdiffstats
path: root/pkg/runner/testdata/uses-composite-with-inputs/composite/action.yml
blob: 4ca6f6dcee0048c98d9df32140cd2f81b6f81ec4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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