From 08b60cfd73a817d7fde6c66f9b596af5229fc65a Mon Sep 17 00:00:00 2001 From: Alan Guo Xiang Tan Date: Thu, 29 Aug 2024 13:03:21 +0800 Subject: [PATCH] DEV: Fix app-cache key not considering number of parallel database (#28629) This is a follow-up to 8adc484804f67672cbed82dcdf4f2615e8831af9 --- .github/workflows/tests.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 071646e0c5d..6e7aa20d128 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -182,7 +182,8 @@ jobs: ${{ hashFiles('.github/workflows/tests.yml') }}- ${{ hashFiles('db/**/*', 'plugins/**/db/**/*') }}- ${{ hashFiles('config/environments/test.rb') }}- - ${{ env.USES_PARALLEL_DATABASES }} + ${{ env.USES_PARALLEL_DATABASES }}- + ${{ env.PARALLEL_TEST_PROCESSORS }}- - name: Restore database from cache if: steps.app-cache.outputs.cache-hit == 'true'