From b566a6bcdf61c143c6a9e5c871385d511a198098 Mon Sep 17 00:00:00 2001 From: Matt Seddon Date: Tue, 26 Jul 2022 06:58:21 +1000 Subject: [PATCH] do not use turbo cache on main branch --- .github/workflows/continuous-integration.yml | 1 + .github/workflows/cross-platform-test.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index b80556a285..6850f44308 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -32,6 +32,7 @@ jobs: cache: 'yarn' - name: Turbo cache + if: ${{ github.ref != 'refs/heads/main' }} id: turbo-cache uses: actions/cache@v3 with: diff --git a/.github/workflows/cross-platform-test.yml b/.github/workflows/cross-platform-test.yml index c305cf3a19..c67ca5cb8d 100644 --- a/.github/workflows/cross-platform-test.yml +++ b/.github/workflows/cross-platform-test.yml @@ -29,6 +29,7 @@ jobs: cache: yarn - name: Turbo cache + if: ${{ github.ref != 'refs/heads/main' }} id: turbo-cache uses: actions/cache@v3 with: