Skip to content

Commit

Permalink
pull and aggregate all statuses
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzsequence committed Jul 30, 2024
1 parent 28a7258 commit 17d8942
Showing 1 changed file with 22 additions and 4 deletions.
26 changes: 22 additions & 4 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,20 +211,38 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Download build status artifact
- name: Download 8.1 build status artifact
uses: actions/download-artifact@v4
with:
name: status
name: status-8.1

- name: Download 8.2 build status artifact
uses: actions/download-artifact@v4
with:
name: status-8.2

- name: Download 8.3 build status artifact
uses: actions/download-artifact@v4
with:
name: status-8.3

- name: Check status
id: check-status
run: |
status=$(cat status.txt)
status=0
for file in status-*.txt; do
status=$(cat $file)
if [ $status -eq 1 ]; then
echo "status=$status" >> $GITHUB_ENV
exit 1
fi
echo "status=$status" >> $GITHUB_ENV
- name: Linting failed
if: env.status == '1'
run: exit 1
run: |
echo "One or more jobs in a previous workflow failed. Exiting."
exit 1
- name: Get last commit message
env:
Expand Down

0 comments on commit 17d8942

Please sign in to comment.