Skip to content

Commit 6766170

Browse files
Merge pull request #28 from ricardogsilva/27-action-inputs-to-control-output-serialization-not-working
Parse relevant action inputs as boolean
2 parents 23fe8ce + 7392c88 commit 6766170

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ inputs:
3030
description: Password for accessing teamengine
3131
network_timeout_seconds:
3232
required: false
33-
default: 120
33+
default: "120"
3434
description: Timeout value for network requests
3535
include_failed_test_details:
3636
required: false
@@ -110,9 +110,9 @@ runs:
110110
parse-result \
111111
--output-format=markdown \
112112
--include-summary \
113-
${{ inputs.include_failed_test_details && '--include-failed-detail \' || '--no-include-failed-detail \'}}
114-
${{ inputs.include_skipped_test_details && '--include-skipped-detail \' || '--no-include-skipped-detail \'}}
115-
${{ inputs.include_passed_test_details && '--include-passed-detail \' || '--no-include-passed-detail \'}}
113+
${{ fromJSON(inputs.include_failed_test_details) && '--include-failed-detail \' || '--no-include-failed-detail \'}}
114+
${{ fromJSON(inputs.include_skipped_test_details) && '--include-skipped-detail \' || '--no-include-skipped-detail \'}}
115+
${{ fromJSON(inputs.include_passed_test_details) && '--include-passed-detail \' || '--no-include-passed-detail \'}}
116116
${{ steps.run_executable_test_suite.outputs.RAW_RESULT_OUTPUT_PATH }} 1> ${md_result_output_path}
117117
echo "MARKDOWN_RESULT_OUTPUT_PATH=${{ github.action_path }}/${md_result_output_path}" >> "${GITHUB_OUTPUT}"
118118
- name: 'store execution results as artifacts'

0 commit comments

Comments
 (0)