We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 449d85d commit 3c0f243Copy full SHA for 3c0f243
.github/actions/validate-template/action.yml
@@ -32,7 +32,9 @@ runs:
32
INPUT_PATH: ${{ inputs.path }}
33
INPUT_DIRECTORY: ${{ inputs.directory }}
34
ACTION_PATH: ${{ github.action_path }}
35
+ shell: bash
36
run: |
37
result=$(deno run --allow-read "${ACTION_PATH}/src/main.ts" "${INPUT_PATH}" "${INPUT_DIRECTORY}")
38
+ # Escape special characters and ensure single-line JSON output
39
+ result=$(echo "$result" | jq -c '.')
40
echo "result=${result}" >> "$GITHUB_OUTPUT"
- shell: bash
0 commit comments