Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: merge summary into a single step #9672

Merged
merged 1 commit into from
Jan 7, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 6 additions & 13 deletions .github/workflows/test-js-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ jobs:
- js_packages
steps:
- name: Compute info
id: info
if: always()
run: |
cancelled=false
failure=false
Expand All @@ -106,17 +104,12 @@ jobs:
subjob ${{needs.js_packages.result}}

if [ "$cancelled" = "true" ]; then
echo "cancelled=true" >> $GITHUB_OUTPUT
echo "Job was cancelled."
exit 0
elif [ "$failure" = "true" ]; then
echo "failure=true" >> $GITHUB_OUTPUT
echo "Job failed."
exit 1
else
echo "success=true" >> $GITHUB_OUTPUT
echo "Job succeeded."
exit 0
fi

- name: Failed
if: steps.info.outputs.failure == 'true'
run: exit 1

- name: Succeeded
if: steps.info.outputs.success == 'true'
run: echo Ok
Loading