Skip to content

Commit 07e2618

Browse files
committed
caching behavior influences in docs publishing Action
1 parent 93a52af commit 07e2618

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/build-publish-documentation.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ jobs:
4444
uses: actions/cache@v3
4545
with:
4646
path: .venv
47-
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
47+
# caching behavior influenced by changes to both pyproject.toml and poetry.lock
48+
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock', '**/pyproject.toml') }}
4849

4950
#----------------------------------------------
5051
# install dependencies if cache does not exist

0 commit comments

Comments
 (0)