Skip to content

Commit 5952b27

Browse files
committed
test dependent runs
1 parent 610329c commit 5952b27

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.github/workflows/android.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
name: Android CI
22

3-
on: [ push ]
3+
on:
4+
workflow_dispatch:
5+
workflow_run:
6+
workflows: [ 'Code format check' ]
7+
types: [ completed ]
48

59
jobs:
610
build:
711

812
runs-on: ubuntu-latest
13+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
914

1015
steps:
1116
- uses: actions/checkout@v4

.github/workflows/code-formatting.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
name: Code formatting
1+
name: Code format check
22

3-
on: [ push ]
3+
on: [ workflow_dispatch, push ]
44

55
jobs:
6-
build:
6+
check-format:
77

88
runs-on: ubuntu-latest
99

0 commit comments

Comments
 (0)