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 d42155c commit b214748Copy full SHA for b214748
.github/workflows/check_extension_build_status.yml
@@ -24,17 +24,9 @@ jobs:
24
- name: Run Python script to calculate errors
25
run: |
26
python .github/get_build_status.py
27
+ echo "has_errors=$has_errors" >> $GITHUB_ENV
28
id: error_output
29
- - name: Set the exit code and send notifications
30
- run: |
31
- has_errors="${{ steps.error_output.outputs.has_errors }}"
32
- if [[ $has_errors == "true" ]]; then
33
- echo "Build Failed"
34
- # Add your notification steps here
35
- else
36
- echo "Build Successful"
37
- fi
38
-
39
- name: Set the exit code
40
- run: exit ${{ steps.error_output.outputs.has_errors }}
+ if: env.has_errors
+ run: exit 1
0 commit comments