File tree Expand file tree Collapse file tree 1 file changed +15
-5
lines changed
.github/actions/validate-template Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ inputs:
1313outputs :
1414 status :
1515 description : Validate status
16- value : $VALIDATE_STATUS
16+ value : ${{ steps.validate-template.outputs.status }}
1717 detail :
1818 description : Validate detail
19- value : $VALIDATE_DETAIL
19+ value : ${{ steps.validate-template.outputs.detail }}
2020
2121runs :
2222 using : composite
3838 # Parse JSON and extract status and detail separately
3939 status=$(echo "$result" | jq -r '.status')
4040 detail=$(echo "$result" | jq -r '.detail')
41- # Store in GITHUB_ENV
42- echo "VALIDATE_STATUS=${status}" >> "$GITHUB_ENV"
43- echo "VALIDATE_DETAIL={detail}" >> "$GITHUB_ENV"
41+ # Print for debugging
42+ echo "::group::Validation Result"
43+ echo "Status: ${status}"
44+ echo "Detail:"
45+ echo "$detail"
46+ echo "::endgroup::"
47+ # Output status and detail
48+ echo "status=${status}" >> "$GITHUB_OUTPUT"
49+ {
50+ echo "detail<<EOF"
51+ echo "$detail"
52+ echo "EOF"
53+ } >> "$GITHUB_OUTPUT"
You can’t perform that action at this time.
0 commit comments