Skip to content

Commit f18253e

Browse files
committed
ci: more build action optimization
1 parent efc9651 commit f18253e

5 files changed

Lines changed: 19 additions & 1 deletion

File tree

.github/workflows/android.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,18 @@ name: Android Build
22

33
on:
44
push:
5+
branches:
6+
- master
57
paths-ignore:
68
- 'docs/**'
79
- '**.md'
810
pull_request:
911
paths-ignore:
1012
- '**.md'
1113
- 'docs/**'
14+
tags:
15+
- v*
16+
1217

1318
concurrency:
1419
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}

.github/workflows/book.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
branches:
66
- master
77
pull_request:
8+
tags:
9+
- v*
810

911
concurrency:
1012
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}

.github/workflows/build_cmake.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,17 @@ name: Build
22

33
on:
44
push:
5+
branches:
6+
- master
57
paths-ignore:
68
- 'docs/**'
79
- '**.md'
810
pull_request:
911
paths-ignore:
1012
- '**.md'
1113
- 'docs/**'
14+
tags:
15+
- v*
1216

1317
concurrency:
1418
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}

.github/workflows/build_python.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,17 @@ name: Python
22

33
on:
44
push:
5+
branches:
6+
- master
57
paths-ignore:
68
- 'docs/**'
79
- '**.md'
810
pull_request:
911
paths-ignore:
1012
- '**.md'
1113
- 'docs/**'
14+
tags:
15+
- v*
1216

1317
concurrency:
1418
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}

.github/workflows/mingw.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,17 @@ name: MSYS2 build
22

33
on:
44
push:
5+
branches:
6+
- master
57
paths-ignore:
68
- 'docs/**'
79
- '**.md'
810
pull_request:
911
paths-ignore:
1012
- '**.md'
1113
- 'docs/**'
12-
14+
tags:
15+
- v*
1316
concurrency:
1417
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
1518
cancel-in-progress: true

0 commit comments

Comments
 (0)