Skip to content

Commit

Permalink
ci: Reduce number of jobs run for branches
Browse files Browse the repository at this point in the history
  • Loading branch information
cassava committed Apr 22, 2024
1 parent 0650480 commit 9984232
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 5 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/build-cloe.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
---
name: Build Cloe

on:
push:
branches:
- master
- develop
- 'release/**'
- "release/**"
paths-ignore:
- "*.md"
- ".gitignore"
- "LICENSE"
- "dist/**"
- "docs/**"
- "ui/**"
pull_request:
paths-ignore:
- "*.md"
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/build-docs.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
---
name: Build Documentation

on:
push:
branches:
- master
- develop
- 'release/**'
- "release/**"
paths:
- "docs/**"
- "*.hpp"
pull_request:
paths:
- "docs/**"
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/build-ui.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
---
name: Build UI

on:
push:
branches:
- master
- develop
- 'release/**'
- "release/**"
paths:
- "ui/**"
pull_request:
paths:
- "ui/**"
Expand Down Expand Up @@ -34,8 +37,7 @@ jobs:
echo $version
if [[ $version == "v18"* ]]; then
npm run build_v18
else
else
npm run build
fi
shell: bash

0 comments on commit 9984232

Please sign in to comment.