Skip to content
Merged
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion actions/reportportal_submit_execution_results/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,12 @@ runs:
ls $TEST_RESULTS

# generate report metadata file
TEMPLATE=`find ~ -type f -name 'droute_send_template.json'`
TEMPLATE="${GITHUB_ACTION_PATH}/droute_send_template.json"
if [ ! -f $TEMPLATE ]; then
echo "droute_send_template.json not found in $GITHUB_ACTION_PATH"
exit 1
fi

echo "Generating datarouter.json based on template $TEMPLATE"
jq --raw-output \
--slurpfile metadata ${{ inputs.metadata_filepath }} \
Expand Down