mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 02:29:01 +00:00
CI: kernel: generate ccache cache on kernel push
To actually use ccache cache on kernel test from pr, the kernel workflow
has to be run first from a push action.
This will permit as a side effect to test merged commits and catch commit
that may cause regression in kernel compilation even outside the github
system.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit 23e946d1ad
)
This commit is contained in:
parent
9718dffd27
commit
305688f537
6
.github/workflows/kernel.yml
vendored
6
.github/workflows/kernel.yml
vendored
@ -7,6 +7,12 @@ on:
|
|||||||
- 'include/kernel-*'
|
- 'include/kernel-*'
|
||||||
- 'package/kernel/**'
|
- 'package/kernel/**'
|
||||||
- 'target/linux/generic/**'
|
- 'target/linux/generic/**'
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
- '.github/workflows/kernel.yml'
|
||||||
|
- 'include/kernel-*'
|
||||||
|
- 'package/kernel/**'
|
||||||
|
- 'target/linux/generic/**'
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
Loading…
Reference in New Issue
Block a user