From 2c932be45ac80e18a1ddc2fd4fc1c32eb2f2f7df Mon Sep 17 00:00:00 2001 From: Ylarod Date: Tue, 17 Jan 2023 22:40:31 +0800 Subject: [PATCH] [skip ci] ci: don't save cache in pr (#81) --- .github/workflows/build-WSA-5.10.117-kernel.yml | 1 + .github/workflows/build-kernel-5.10.yml | 1 + .github/workflows/build-kernel-5.15.yml | 1 + 3 files changed, 3 insertions(+) diff --git a/.github/workflows/build-WSA-5.10.117-kernel.yml b/.github/workflows/build-WSA-5.10.117-kernel.yml index 6456925a..f4165326 100644 --- a/.github/workflows/build-WSA-5.10.117-kernel.yml +++ b/.github/workflows/build-WSA-5.10.117-kernel.yml @@ -39,6 +39,7 @@ jobs: with: key: ccache-WSA-Kernel-${{ matrix.version }} append-timestamp: false + save: ${{ github.event_name != 'pull_request' }} - uses: actions/checkout@v3 with: path: KernelSU diff --git a/.github/workflows/build-kernel-5.10.yml b/.github/workflows/build-kernel-5.10.yml index b3385da2..b10c419c 100644 --- a/.github/workflows/build-kernel-5.10.yml +++ b/.github/workflows/build-kernel-5.10.yml @@ -51,6 +51,7 @@ jobs: with: key: ccache-aarch64-${{ matrix.version }} append-timestamp: false + save: ${{ github.event_name != 'pull_request' }} - name: Setup need_upload id: need_upload diff --git a/.github/workflows/build-kernel-5.15.yml b/.github/workflows/build-kernel-5.15.yml index 84e76683..820e638a 100644 --- a/.github/workflows/build-kernel-5.15.yml +++ b/.github/workflows/build-kernel-5.15.yml @@ -39,6 +39,7 @@ jobs: with: key: ccache-aarch64-${{ matrix.version }} append-timestamp: false + save: ${{ github.event_name != 'pull_request' }} - name: Setup need_upload id: need_upload