diff options
| author | Christian Marangi | 2022-10-08 17:25:54 +0000 |
|---|---|---|
| committer | Josef Schlehofer | 2022-12-04 15:27:00 +0000 |
| commit | 305688f5372b0e884b5a479cf151d746617db32b (patch) | |
| tree | 81450181574ec7aa1333b74e3c5cfeb299d0c5d5 | |
| parent | 9718dffd27ea9c15d30958eafef593aab929b7e8 (diff) | |
| download | openwrt-305688f5372b0e884b5a479cf151d746617db32b.tar.gz | |
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 |