Skip to content

Commit 0a8b394

Browse files
committed
Fix workflows
1 parent 7ce05e5 commit 0a8b394

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/screenshot-comparison.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@ jobs:
5151
- name: Setup Gradle
5252
uses: gradle/actions/setup-gradle@v4
5353

54+
- name: Wait for base unit-test to succeed before downloading base branch screenshot artifact
55+
uses: lewagon/wait-on-check-action@v1.3.4
56+
with:
57+
ref: ${{ steps.get_base_branch_head.outputs.sha }}
58+
check-name: 'unit-test'
59+
repo-token: ${{ github.token }}
60+
wait-interval: 10
61+
5462
- name: Download screenshot artifact from base branch for comparison
5563
uses: dawidd6/action-download-artifact@v11
5664
continue-on-error: true

.github/workflows/unit-test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ on:
1414

1515
jobs:
1616
unit-test:
17-
needs: build
1817
runs-on: ubuntu-latest
1918
timeout-minutes: 30
2019

0 commit comments

Comments
 (0)