Skip to content

Commit 405e50c

Browse files
committed
Move android.yml to pull.yml
Add workflow_call trigger. android.yml takes about 20 minutes and it's not expensive as before
1 parent fe20be9 commit 405e50c

File tree

2 files changed

+4
-16
lines changed

2 files changed

+4
-16
lines changed

.github/workflows/android.yml renamed to .github/workflows/_android.yml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,7 @@
11
name: Android
22

33
on:
4-
push:
5-
branches:
6-
- main
7-
- release/*
8-
tags:
9-
- ciflow/android/*
10-
pull_request:
11-
paths:
12-
- .ci/docker/**
13-
- .github/workflows/android.yml
14-
- build/*android*.sh
15-
- install_requirements.sh
16-
- examples/demo-apps/android/**
17-
- extension/android/**
18-
- extension/benchmark/android/**
19-
- extension/module/**
4+
workflow_call:
205
workflow_dispatch:
216

227
concurrency:

.github/workflows/pull.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,9 @@ jobs:
347347
exit 1
348348
fi
349349
350+
android:
351+
uses: ./.github/workflows/_android.yml
352+
350353
unittest:
351354
uses: ./.github/workflows/_unittest.yml
352355
with:

0 commit comments

Comments
 (0)