mirror of
https://github.com/Almamu/linux-wallpaperengine.git
synced 2025-07-13 12:52:32 +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]
|
||||
branches: [main]
|
||||
types: [completed]
|
||||
push:
|
||||
paths:
|
||||
- 'packaging/archlinux/**'
|
||||
- '.github/workflows/**'
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
|
10
.github/workflows/cmake.yml
vendored
10
.github/workflows/cmake.yml
vendored
@ -2,8 +2,18 @@ name: CMake
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- 'src/**'
|
||||
- 'CMakeModules/**'
|
||||
- CMakeLists.txt
|
||||
- 'protocols/**'
|
||||
branches: [ "main" ]
|
||||
pull_request:
|
||||
paths:
|
||||
- 'src/**'
|
||||
- 'CMakeModules/**'
|
||||
- CMakeLists.txt
|
||||
- 'protocols/**'
|
||||
branches: [ "main" ]
|
||||
|
||||
env:
|
||||
|
Loading…
Reference in New Issue
Block a user