From 85b5fcd5e1a2bc8cdd359dabd449e6788fa88fbc Mon Sep 17 00:00:00 2001 From: mauwii Date: Sat, 29 Oct 2022 08:28:17 +0200 Subject: [PATCH] fix cache hit expression in download sd-model step - also update sd-cache display name to include current model --- .github/workflows/test-invoke-conda.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-invoke-conda.yml b/.github/workflows/test-invoke-conda.yml index d55fc2d8fd..6f294c85a6 100644 --- a/.github/workflows/test-invoke-conda.yml +++ b/.github/workflows/test-invoke-conda.yml @@ -70,7 +70,7 @@ jobs: if: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/development' }} run: echo "TEST_PROMPTS=tests/validate_pr_prompt.txt" >> $GITHUB_ENV - - name: Use Cached Stable Diffusion Model + - name: Use Cached ${{ matrix.stable-diffusion-model-switch }} id: cache-stable-diffusion-model uses: actions/cache@v3 env: @@ -81,7 +81,7 @@ jobs: restore-keys: ${{ env.cache-name }} - name: Download ${{ matrix.stable-diffusion-model-switch }} - if: ${{ steps.cache-sd-v1-4.outputs.cache-hit != 'true' }} + if: ${{ steps.cache-stable-diffusion-model.outputs.cache-hit != 'true' }} run: | [[ -d models/ldm/stable-diffusion-v1 ]] \ || mkdir -p models/ldm/stable-diffusion-v1