diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2022-10-08 19:25:54 +0200 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2022-12-04 17:36:57 +0100 |
commit | 8c4e39eb0824c560a1176439a92e7383f8891d11 (patch) | |
tree | 444a1f4515699f1bb3532a0c30acf946bcd95ff5 | |
parent | 303b784cc81c864bb53447684efed596e2ff5b16 (diff) | |
download | upstream-8c4e39eb0824c560a1176439a92e7383f8891d11.tar.gz upstream-8c4e39eb0824c560a1176439a92e7383f8891d11.tar.bz2 upstream-8c4e39eb0824c560a1176439a92e7383f8891d11.zip |
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 23e946d1aded1fc21125704c0819146d5772d72b)
-rw-r--r-- | .github/workflows/kernel.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/kernel.yml b/.github/workflows/kernel.yml index 0ba8c27e2e..25d6d265eb 100644 --- a/.github/workflows/kernel.yml +++ b/.github/workflows/kernel.yml @@ -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 |