Skip to content

Commit 35f2ffd

Browse files
authored
Add run_id back into the key
1 parent 0364e39 commit 35f2ffd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/docs.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,10 @@ jobs:
126126
# Cache key is composed of branch name, ansys version, hash of requirements_doc,
127127
# and run_id to work around immutability
128128
# We should also track version of pandoc, of graphviz, of packages installed by headless-display, and even of pydpf-core?
129-
key: doc-build-${{ github.ref_name }}-DPF_${{inputs.ANSYS_VERSION}}${{inputs.standalone_suffix}}-${{hashfiles('requirements/requirements_docs.txt')}}
129+
key: doc-build-${{ github.ref_name }}-DPF_${{inputs.ANSYS_VERSION}}${{inputs.standalone_suffix}}-${{hashfiles('requirements/requirements_docs.txt')}}-${{ github.run_id }}
130130
restore-keys: |
131-
doc-build-master-DPF_${{inputs.ANSYS_VERSION}}${{inputs.standalone_suffix}}-${{hashfiles('requirements/requirements_docs.txt')}}
131+
doc-build-${{ github.ref_name }}-DPF_${{inputs.ANSYS_VERSION}}${{inputs.standalone_suffix}}-${{hashfiles('requirements/requirements_docs.txt')}}-
132+
doc-build-master-DPF_${{inputs.ANSYS_VERSION}}${{inputs.standalone_suffix}}-${{hashfiles('requirements/requirements_docs.txt')}}-
132133
133134
- name: "Build HTML Documentation"
134135
shell: bash

0 commit comments

Comments
 (0)