We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e2bfea commit cbbde57Copy full SHA for cbbde57
1 file changed
.github/workflows/pr-validate.yml
@@ -46,9 +46,8 @@ jobs:
46
id: validate
47
working-directory: ${{ github.workspace }}
48
run: |
49
- python .github/scripts/validate_pr.py changed_files.txt > result.txt 2>&1
50
- echo "exit_code=$?" >> $GITHUB_OUTPUT
51
- cat result.txt
+ python .github/scripts/validate_pr.py changed_files.txt 2>&1 | tee result.txt
+ echo "exit_code=${PIPESTATUS[0]}" >> $GITHUB_OUTPUT
52
53
- name: Print result
54
if: always()
0 commit comments