From 86a7bfa9b684fbad9975b66a42dfe28b2b2afffa Mon Sep 17 00:00:00 2001 From: Wen-Wei Tseng Date: Tue, 21 May 2024 15:50:19 +0800 Subject: [PATCH] notebook keys --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f15bf72..69d7f4c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,7 +36,7 @@ jobs: if: ${{ contains(runner.name, 'GitHub Actions') }} id: cache-venv with: - key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version}}-${{ hashFiles('requirements.txt') }} + key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('requirements.txt') }} path: .venv - name: Install dependencies run: | @@ -52,9 +52,9 @@ jobs: id: cache-nb with: path: ${{ env.NBCACHE }} - key: ${{ runner.os }}-nb-${{ env.CACHE_NUM }}-${{ hashFiles('src/**', 'Project.toml', 'Manifest.toml') }}-${{ hashFiles('docs/**/*.ipynb', 'docs/**/*.jl') }} + key: ${{ runner.os }}-nb-${{ env.CACHE_NUM }}-${{ hashFiles('src/**', 'Project.toml', 'Manifest.toml', 'requirements.txt') }}-${{ hashFiles('docs/**/*.ipynb', 'docs/**/*.jl') }} restore-keys: | - ${{ runner.os }}-nb-${{ env.CACHE_NUM }}-${{ hashFiles('src/**', 'Project.toml', 'Manifest.toml') }}- + ${{ runner.os }}-nb-${{ env.CACHE_NUM }}-${{ hashFiles('src/**', 'Project.toml', 'Manifest.toml', 'requirements.txt') }}- - name: Read Julia version uses: SebRollen/toml-action@v1.2.0 id: read_toml