diff options
Diffstat (limited to 'pkg/runner/testdata/uses-composite-with-inputs/composite')
-rw-r--r-- | pkg/runner/testdata/uses-composite-with-inputs/composite/action.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkg/runner/testdata/uses-composite-with-inputs/composite/action.yml b/pkg/runner/testdata/uses-composite-with-inputs/composite/action.yml new file mode 100644 index 0000000..4ca6f6d --- /dev/null +++ b/pkg/runner/testdata/uses-composite-with-inputs/composite/action.yml @@ -0,0 +1,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 |