CI: use unique names for release caches (#1723)

This commit is contained in:
Adam J. Stewart 2023-11-10 10:19:25 -06:00 коммит произвёл Nils Lehmann
Родитель b9eb632d11
Коммит 4630477af6
2 изменённых файлов: 4 добавлений и 4 удалений

6
.github/workflows/release.yaml поставляемый
Просмотреть файл

@ -22,7 +22,7 @@ jobs:
id: cache id: cache
with: with:
path: ${{ env.pythonLocation }} path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }} key: ${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }}-datasets
- name: Install pip dependencies - name: Install pip dependencies
if: steps.cache.outputs.cache-hit != 'true' if: steps.cache.outputs.cache-hit != 'true'
run: | run: |
@ -50,7 +50,7 @@ jobs:
id: cache id: cache
with: with:
path: ${{ env.pythonLocation }} path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }} key: ${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }}-integration
- name: Install pip dependencies - name: Install pip dependencies
if: steps.cache.outputs.cache-hit != 'true' if: steps.cache.outputs.cache-hit != 'true'
run: | run: |
@ -78,7 +78,7 @@ jobs:
id: cache id: cache
with: with:
path: ${{ env.pythonLocation }} path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }} key: ${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }}-tutorials
- name: Install pip dependencies - name: Install pip dependencies
if: steps.cache.outputs.cache-hit != 'true' if: steps.cache.outputs.cache-hit != 'true'
run: | run: |

2
.github/workflows/tutorials.yaml поставляемый
Просмотреть файл

@ -26,7 +26,7 @@ jobs:
id: cache id: cache
with: with:
path: ${{ env.pythonLocation }} path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }} key: ${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }}-tutorials
- name: Install pip dependencies - name: Install pip dependencies
if: steps.cache.outputs.cache-hit != 'true' if: steps.cache.outputs.cache-hit != 'true'
run: | run: |