From 0af71a9f32ffab243109fbeb68629b2a0ceedf05 Mon Sep 17 00:00:00 2001 From: Constrat <56174894+Constrat@users.noreply.github.com> Date: Thu, 15 May 2025 12:07:07 +0200 Subject: [PATCH] fix: remove cachie from optimize templates what's the issue? --- .github/workflows/optimize-templates.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/optimize-templates.yml b/.github/workflows/optimize-templates.yml index 49bc459c5e..8235a8416e 100644 --- a/.github/workflows/optimize-templates.yml +++ b/.github/workflows/optimize-templates.yml @@ -55,16 +55,17 @@ jobs: with: python-version: "3.11" - - name: Cache Python packages - id: cache_python - if: steps.check_push.outputs.is_pr != 'True' && always() - uses: actions/cache@v4 - with: - path: ${{ env.pythonLocation }}/lib/python3.11/site-packages - key: ${{ runner.os }}-pip-optimize-templates-${{ hashFiles('./tools/OptimizeTemplates/requirements.txt') }} + # - name: Cache Python packages + # id: cache_python + # if: steps.check_push.outputs.is_pr != 'True' && always() + # uses: actions/cache@v4 + # with: + # path: ${{ env.pythonLocation }}/lib/python3.11/site-packages + # key: ${{ runner.os }}-pip-optimize-templates-${{ hashFiles('./tools/OptimizeTemplates/requirements.txt') }} - name: Install dependencies - if: steps.check_push.outputs.is_pr != 'True' && steps.cache_python.outputs.cache-hit != 'true' + # if: steps.check_push.outputs.is_pr != 'True' && steps.cache_python.outputs.cache-hit != 'true' + if: steps.check_push.outputs.is_pr != 'True' run: | pip install -r tools/OptimizeTemplates/requirements.txt