diff --git a/.github/workflows/cache-builder.yml b/.github/workflows/cache-builder.yml index cdfaf39cad..f65e4588e9 100644 --- a/.github/workflows/cache-builder.yml +++ b/.github/workflows/cache-builder.yml @@ -48,7 +48,7 @@ jobs: uses: actions/cache@v3 with: path: ${{ env.pythonLocation }} - key: ${{ matrix.os }}_python-${{ matrix.python-version }}_${{ hashFiles('**/pyproject.toml') }} + key: ${{ matrix.os }}_python-${{ matrix.python-version }}_${{ hashFiles('pyproject.toml', '*/pyproject.toml') }} #--------------------------------------------------- - name: Install Dev Dependencies diff --git a/.github/workflows/ci_code.yml b/.github/workflows/ci_code.yml index 338131b656..4aac5eaa4b 100644 --- a/.github/workflows/ci_code.yml +++ b/.github/workflows/ci_code.yml @@ -47,7 +47,8 @@ jobs: uses: actions/cache@v3 with: path: ${{ env.pythonLocation }} - key: ${{ matrix.os }}_python-${{ matrix.python-version }}_${{ hashFiles('**/pyproject.toml') }} + key: ${{ matrix.os }}_python-${{ matrix.python-version }}_${{ hashFiles('pyproject.toml', '*/pyproject.toml')}} + #--------------------------------------------------- - name: Install Dependencies diff --git a/.github/workflows/ci_docs.yaml b/.github/workflows/ci_docs.yaml index 34860c0039..f6b0f3bfee 100644 --- a/.github/workflows/ci_docs.yaml +++ b/.github/workflows/ci_docs.yaml @@ -40,7 +40,7 @@ jobs: with: path: | ${{ env.pythonLocation }} - key: ubuntu-latest_python-3.11_${{ hashFiles('**/pyproject.toml') }} + key: ubuntu-latest_python-3.11_${{ hashFiles('pyproject.toml', '*/pyproject.toml') }} - name: Build docs and use-cases # build is available in docs/hr/build diff --git a/.github/workflows/ci_notebooks.yml b/.github/workflows/ci_notebooks.yml index 419917900a..b0c3a5e357 100644 --- a/.github/workflows/ci_notebooks.yml +++ b/.github/workflows/ci_notebooks.yml @@ -46,7 +46,7 @@ jobs: uses: actions/cache@v3 with: path: ${{ env.pythonLocation }} - key: ${{ matrix.os }}_python-${{ matrix.python-version }}_${{ hashFiles('**/pyproject.toml') }} + key: ${{ matrix.os }}_python-${{ matrix.python-version }}_${{ hashFiles('pyproject.toml', '*/pyproject.toml') }} #--------------------------------------------------- - name: Install Demo Dependencies