From bc0e317cf211c71cfb9403db796ec84bfa16f63c Mon Sep 17 00:00:00 2001 From: neil Date: Thu, 2 Feb 2023 09:43:03 +0800 Subject: [PATCH] prevent run --- .github/workflows/ci.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 68b2bcc..34fc4d8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -114,9 +114,21 @@ jobs: # name: linux+aarch64 steps: - uses: actions/checkout@v3 + + - name: cache gui build + # TODO: cache issue in our self-hosted macos runner ESPIPE: invalid seek, read + # but its ok to ignore, its still the fastest builder + # NOTE: enabling cache in the self hosted runner slows down the pipeline by 4m because post-cache builder error ^ + if: startsWith(matrix.platform.name, 'linux') || matrix.platform.name == 'darwin+x86-64' + uses: actions/cache@v3 + with: + key: ${{matrix.platform.name}}-pnpm-cargo + path: | + ./pnpm + build_tauri: needs: changes - if: needs.changes.outputs.desktop == 'true' + if: false runs-on: ${{ matrix.platform.os }} strategy: matrix: