diff --git a/action.yml b/action.yml index 02adfee..6836479 100644 --- a/action.yml +++ b/action.yml @@ -12,7 +12,7 @@ inputs: outputs: logs: description: Logs from the pre-commit run command - value: ${{ steps.run-pre-commit.outputs_logs }} + value: ${{ steps.run-pre-commit.OUTPUT_LOGS }} runs: using: composite @@ -47,6 +47,12 @@ runs: name: Run pre-commit run: | output=$(pre-commit run --config="${{ inputs.config-path }}" --show-diff-on-failure --color=always ${{ inputs.extra-args }}) - echo "outputs_logs=$(echo $output)" >> $GITHUB_OUTPUT + echo "OUTPUT_LOGS=$(echo $output)" >> $GITHUB_OUTPUT echo "$output" shell: bash + - name: json + run: | + echo $JSON + env: + JSON: ${{ toJSON(steps) }} + shell: bash