mirror of
https://github.com/Almamu/linux-wallpaperengine.git
synced 2025-07-13 21:02:34 +08:00
chore: improve workflow running conditions so not everything is run unless needed (#297)
This commit is contained in:
parent
9cb2e60960
commit
e12771b10e
4
.github/workflows/arch.yml
vendored
4
.github/workflows/arch.yml
vendored
@ -5,6 +5,10 @@ on:
|
|||||||
workflows: [cmake]
|
workflows: [cmake]
|
||||||
branches: [main]
|
branches: [main]
|
||||||
types: [completed]
|
types: [completed]
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
- 'packaging/archlinux/**'
|
||||||
|
- '.github/workflows/**'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
publish:
|
||||||
|
10
.github/workflows/cmake.yml
vendored
10
.github/workflows/cmake.yml
vendored
@ -2,8 +2,18 @@ name: CMake
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
paths:
|
||||||
|
- 'src/**'
|
||||||
|
- 'CMakeModules/**'
|
||||||
|
- CMakeLists.txt
|
||||||
|
- 'protocols/**'
|
||||||
branches: [ "main" ]
|
branches: [ "main" ]
|
||||||
pull_request:
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- 'src/**'
|
||||||
|
- 'CMakeModules/**'
|
||||||
|
- CMakeLists.txt
|
||||||
|
- 'protocols/**'
|
||||||
branches: [ "main" ]
|
branches: [ "main" ]
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
Loading…
Reference in New Issue
Block a user