Skip to content

Commit cbc9e34

Browse files
authored
Remove run-id from cache key
1 parent 7c76627 commit cbc9e34

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,9 @@ 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')}}-${{ github.run_id }}
129+
key: doc-build-${{ github.ref_name }}-DPF_${{inputs.ANSYS_VERSION}}${{inputs.standalone_suffix}}-${{hashfiles('requirements/requirements_docs.txt')}}
130130
restore-keys: |
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')}}-
131+
doc-build-master-DPF_${{inputs.ANSYS_VERSION}}${{inputs.standalone_suffix}}-${{hashfiles('requirements/requirements_docs.txt')}}
133132
134133
- name: "Build HTML Documentation"
135134
shell: bash

0 commit comments

Comments
 (0)