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>
This commit is contained in:
Christian Marangi 2022-10-08 19:25:54 +02:00
parent bb212092df
commit 23e946d1ad
No known key found for this signature in database
GPG Key ID: AC001D09ADBFEAD7

View File

@ -7,6 +7,12 @@ on:
- 'include/kernel-*'
- 'package/kernel/**'
- 'target/linux/generic/**'
push:
paths:
- '.github/workflows/kernel.yml'
- 'include/kernel-*'
- 'package/kernel/**'
- 'target/linux/generic/**'
permissions:
contents: read