Skip to content

Commit

Permalink
ci path use 'whitelist' replace 'blacklist'
Browse files Browse the repository at this point in the history
  • Loading branch information
jared2020 committed Dec 2, 2020
1 parent d621fa0 commit 13b867c
Show file tree
Hide file tree
Showing 8 changed files with 134 additions and 156 deletions.
37 changes: 17 additions & 20 deletions .github/workflows/android-qt5_15_2.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,25 @@
name: android-qt5_15_2
on:
# push代码时触发workflow
push:
paths-ignore:
- '*.md'
- 'LICENSE'
- "doc/**"
- "preview/**"
- ".github/workflows/ios*.yml"
- ".github/workflows/macos*.yml"
- ".github/workflows/ubuntu*.yml"
- ".github/workflows/windows*.yml"
- ".github/workflows/android.yml"
paths:
- '3rdparty/**'
- 'examples/**'
- 'mkspecs/**'
- 'src/**'
- '.qmake.conf'
- 'TaoQuick.pro'
- '.github/workflows/android-qt5_15_2.yml'
# pull_request时触发workflow
pull_request:
paths-ignore:
- 'README.md'
- 'LICENSE'
- "doc/**"
- "preview/**"
- ".github/workflows/ios*.yml"
- ".github/workflows/macos*.yml"
- ".github/workflows/ubuntu*.yml"
- ".github/workflows/windows*.yml"
- ".github/workflows/android.yml"
paths:
- '3rdparty/**'
- 'examples/**'
- 'mkspecs/**'
- 'src/**'
- '.qmake.conf'
- 'TaoQuick.pro'
- '.github/workflows/android-qt5_15_2.yml'
jobs:
build:
name: Build
Expand Down
37 changes: 17 additions & 20 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,25 @@
name: Android
on:
# push代码时触发workflow
push:
paths-ignore:
- '*.md'
- 'LICENSE'
- "doc/**"
- "preview/**"
- ".github/workflows/ios*.yml"
- ".github/workflows/macos*.yml"
- ".github/workflows/ubuntu*.yml"
- ".github/workflows/windows*.yml"
- ".github/workflows/android-*.yml"
paths:
- '3rdparty/**'
- 'examples/**'
- 'mkspecs/**'
- 'src/**'
- '.qmake.conf'
- 'TaoQuick.pro'
- '.github/workflows/android.yml'
# pull_request时触发workflow
pull_request:
paths-ignore:
- 'README.md'
- 'LICENSE'
- "doc/**"
- "preview/**"
- ".github/workflows/ios*.yml"
- ".github/workflows/macos*.yml"
- ".github/workflows/ubuntu*.yml"
- ".github/workflows/windows*.yml"
- ".github/workflows/android-*.yml"
paths:
- '3rdparty/**'
- 'examples/**'
- 'mkspecs/**'
- 'src/**'
- '.qmake.conf'
- 'TaoQuick.pro'
- '.github/workflows/android.yml'
jobs:
build:
name: Build
Expand Down
37 changes: 17 additions & 20 deletions .github/workflows/ios-macos-11_0.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,25 @@
name: ios-macos-11_0
on:
# push代码时触发workflow
push:
paths-ignore:
- '*.md'
- 'LICENSE'
- "doc/**"
- "preview/**"
- ".github/workflows/android*.yml"
- ".github/workflows/macos*.yml"
- ".github/workflows/ubuntu*.yml"
- ".github/workflows/windows*.yml"
- ".github/workflows/ios.yml"
paths:
- '3rdparty/**'
- 'examples/**'
- 'mkspecs/**'
- 'src/**'
- '.qmake.conf'
- 'TaoQuick.pro'
- '.github/workflows/ios-macos-11_0.yml'
# pull_request时触发workflow
pull_request:
paths-ignore:
- 'README.md'
- 'LICENSE'
- "doc/**"
- "preview/**"
- ".github/workflows/android*.yml"
- ".github/workflows/macos*.yml"
- ".github/workflows/ubuntu*.yml"
- ".github/workflows/windows*.yml"
- ".github/workflows/ios.yml"
paths:
- '3rdparty/**'
- 'examples/**'
- 'mkspecs/**'
- 'src/**'
- '.qmake.conf'
- 'TaoQuick.pro'
- '.github/workflows/ios-macos-11_0.yml'
jobs:
build:
name: Build
Expand Down
37 changes: 17 additions & 20 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,25 @@
name: IOS
on:
# push代码时触发workflow
push:
paths-ignore:
- '*.md'
- 'LICENSE'
- "doc/**"
- "preview/**"
- ".github/workflows/android*.yml"
- ".github/workflows/macos*.yml"
- ".github/workflows/ubuntu*.yml"
- ".github/workflows/windows*.yml"
- ".github/workflows/ios-*.yml"
paths:
- '3rdparty/**'
- 'examples/**'
- 'mkspecs/**'
- 'src/**'
- '.qmake.conf'
- 'TaoQuick.pro'
- '.github/workflows/ios.yml'
# pull_request时触发workflow
pull_request:
paths-ignore:
- 'README.md'
- 'LICENSE'
- "doc/**"
- "preview/**"
- ".github/workflows/android*.yml"
- ".github/workflows/macos*.yml"
- ".github/workflows/ubuntu*.yml"
- ".github/workflows/windows*.yml"
- ".github/workflows/ios-*.yml"
paths:
- '3rdparty/**'
- 'examples/**'
- 'mkspecs/**'
- 'src/**'
- '.qmake.conf'
- 'TaoQuick.pro'
- '.github/workflows/ios.yml'
jobs:
build:
name: Build
Expand Down
37 changes: 17 additions & 20 deletions .github/workflows/macos-11_0.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,25 @@
name: macos-11_0
on:
# push代码时触发workflow
push:
paths-ignore:
- '*.md'
- 'LICENSE'
- "doc/**"
- "preview/**"
- ".github/workflows/android*.yml"
- ".github/workflows/ios*.yml"
- ".github/workflows/ubuntu*.yml"
- ".github/workflows/windows*.yml"
- ".github/workflows/macos.yml"
paths:
- '3rdparty/**'
- 'examples/**'
- 'mkspecs/**'
- 'src/**'
- '.qmake.conf'
- 'TaoQuick.pro'
- '.github/workflows/macos-11_0.yml'
# pull_request时触发workflow
pull_request:
paths-ignore:
- 'README.md'
- 'LICENSE'
- "doc/**"
- "preview/**"
- ".github/workflows/android*.yml"
- ".github/workflows/ios*.yml"
- ".github/workflows/ubuntu*.yml"
- ".github/workflows/windows*.yml"
- ".github/workflows/macos.yml"
paths:
- '3rdparty/**'
- 'examples/**'
- 'mkspecs/**'
- 'src/**'
- '.qmake.conf'
- 'TaoQuick.pro'
- '.github/workflows/macos-11_0.yml'
jobs:
build:
name: Build
Expand Down
37 changes: 17 additions & 20 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,25 @@
name: MacOS
on:
# push代码时触发workflow
push:
paths-ignore:
- '*.md'
- 'LICENSE'
- "doc/**"
- "preview/**"
- ".github/workflows/android*.yml"
- ".github/workflows/ios*.yml"
- ".github/workflows/ubuntu*.yml"
- ".github/workflows/windows*.yml"
- ".github/workflows/macos-*.yml"
paths:
- '3rdparty/**'
- 'examples/**'
- 'mkspecs/**'
- 'src/**'
- '.qmake.conf'
- 'TaoQuick.pro'
- '.github/workflows/macos.yml'
# pull_request时触发workflow
pull_request:
paths-ignore:
- 'README.md'
- 'LICENSE'
- "doc/**"
- "preview/**"
- ".github/workflows/android*.yml"
- ".github/workflows/ios*.yml"
- ".github/workflows/ubuntu*.yml"
- ".github/workflows/windows*.yml"
- ".github/workflows/macos-*.yml"
paths:
- '3rdparty/**'
- 'examples/**'
- 'mkspecs/**'
- 'src/**'
- '.qmake.conf'
- 'TaoQuick.pro'
- '.github/workflows/macos.yml'
jobs:
build:
name: Build
Expand Down
34 changes: 16 additions & 18 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,24 @@ name: Ubuntu
on:
# push代码时触发workflow
push:
paths-ignore:
- '*.md'
- 'LICENSE'
- "doc/**"
- "preview/**"
- ".github/workflows/android*.yml"
- ".github/workflows/ios*.yml"
- ".github/workflows/macos*.yml"
- ".github/workflows/windows*.yml"
paths:
- '3rdparty/**'
- 'examples/**'
- 'mkspecs/**'
- 'src/**'
- '.qmake.conf'
- 'TaoQuick.pro'
- '.github/workflows/ubuntu.yml'
# pull_request时触发workflow
pull_request:
paths-ignore:
- 'README.md'
- 'LICENSE'
- "doc/**"
- "preview/**"
- ".github/workflows/android*.yml"
- ".github/workflows/ios*.yml"
- ".github/workflows/macos*.yml"
- ".github/workflows/windows*.yml"
paths:
- '3rdparty/**'
- 'examples/**'
- 'mkspecs/**'
- 'src/**'
- '.qmake.conf'
- 'TaoQuick.pro'
- '.github/workflows/ubuntu.yml'
jobs:
build:
name: Build
Expand Down
34 changes: 16 additions & 18 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,24 @@ name: Windows
on:
# push代码时触发workflow
push:
paths-ignore:
- '*.md'
- 'LICENSE'
- "doc/**"
- "preview/**"
- ".github/workflows/android*.yml"
- ".github/workflows/ios*.yml"
- ".github/workflows/macos*.yml"
- ".github/workflows/ubuntu*.yml"
paths:
- '3rdparty/**'
- 'examples/**'
- 'mkspecs/**'
- 'src/**'
- '.qmake.conf'
- 'TaoQuick.pro'
- '.github/workflows/windows.yml'
# pull_request时触发workflow
pull_request:
paths-ignore:
- 'README.md'
- 'LICENSE'
- "doc/**"
- "preview/**"
- ".github/workflows/android*.yml"
- ".github/workflows/ios*.yml"
- ".github/workflows/macos*.yml"
- ".github/workflows/ubuntu*.yml"
paths:
- '3rdparty/**'
- 'examples/**'
- 'mkspecs/**'
- 'src/**'
- '.qmake.conf'
- 'TaoQuick.pro'
- '.github/workflows/windows.yml'
jobs:
build:
name: Build
Expand Down

0 comments on commit 13b867c

Please sign in to comment.