Skip to content

Commit 906a6a2

Browse files
committed
ci: Reduce number of jobs run for branches
1 parent dbfefdd commit 906a6a2

File tree

3 files changed

+19
-5
lines changed

3 files changed

+19
-5
lines changed

.github/workflows/build-cloe.yaml

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
1+
---
12
name: Build Cloe
23

34
on:
45
push:
56
branches:
67
- master
78
- develop
8-
- 'release/**'
9+
- "release/**"
10+
paths-ignore:
11+
- "*.md"
12+
- ".gitignore"
13+
- "LICENSE"
14+
- "dist/**"
15+
- "docs/**"
16+
- "ui/**"
917
pull_request:
1018
paths-ignore:
1119
- "*.md"

.github/workflows/build-docs.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
1+
---
12
name: Build Documentation
23

34
on:
45
push:
56
branches:
67
- master
78
- develop
8-
- 'release/**'
9+
- "release/**"
10+
paths:
11+
- "docs/**"
12+
- "*.hpp"
913
pull_request:
1014
paths:
1115
- "docs/**"

.github/workflows/build-ui.yaml

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1+
---
12
name: Build UI
23

34
on:
45
push:
56
branches:
67
- master
78
- develop
8-
- 'release/**'
9+
- "release/**"
10+
paths:
11+
- "ui/**"
912
pull_request:
1013
paths:
1114
- "ui/**"
@@ -34,8 +37,7 @@ jobs:
3437
echo $version
3538
if [[ $version == "v18"* ]]; then
3639
npm run build_v18
37-
else
40+
else
3841
npm run build
3942
fi
4043
shell: bash
41-

0 commit comments

Comments
 (0)