Skip to content

Commit

Permalink
Update github workflows to skip builds for markdown-file-only changes (
Browse files Browse the repository at this point in the history
  • Loading branch information
kiminno authored and Yang Liming committed Oct 31, 2023
1 parent 742d78f commit 118d411
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@ name: Build and Test on Linux
on:
push:
branches: [ master ]
paths-ignore:
- '**.md'
pull_request:
branches: [ master ]
paths-ignore:
- '**.md'

env:
proc_num: $(nproc)
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@ name: Build on Macos
on:
push:
branches: [ master ]
paths-ignore:
- '**.md'
pull_request:
branches: [ master ]
paths-ignore:
- '**.md'

env:
proc_num: $(sysctl -n hw.logicalcpu)
Expand Down

0 comments on commit 118d411

Please sign in to comment.