mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
update cache steps
remove restore-keys, make keys uniuqe
This commit is contained in:
parent
339ff4b464
commit
76ae17abac
7
.github/workflows/test-invoke-conda.yml
vendored
7
.github/workflows/test-invoke-conda.yml
vendored
@ -78,8 +78,7 @@ jobs:
|
|||||||
conda-env-file: ${{ matrix.environment-file }}
|
conda-env-file: ${{ matrix.environment-file }}
|
||||||
with:
|
with:
|
||||||
path: ${{ env.CONDA }}/envs/${{ env.CONDA_ENV_NAME }}
|
path: ${{ env.CONDA }}/envs/${{ env.CONDA_ENV_NAME }}
|
||||||
key: ${{ env.cache-name }}
|
key: env-${{ env.cache-name }}-${{ runner.os }}-${{ hashFiles(env.conda-env-file) }}
|
||||||
restore-keys: ${{ env.cache-name }}-${{ runner.os }}-${{ hashFiles('${{ matrix.environment-file }}') }}
|
|
||||||
|
|
||||||
- name: Use cached Conda Packages
|
- name: Use cached Conda Packages
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
@ -88,8 +87,7 @@ jobs:
|
|||||||
conda-env-file: ${{ matrix.environment-file }}
|
conda-env-file: ${{ matrix.environment-file }}
|
||||||
with:
|
with:
|
||||||
path: ${{ env.CONDA_PKGS_DIR }}
|
path: ${{ env.CONDA_PKGS_DIR }}
|
||||||
key: ${{ env.cache-name }}
|
key: pkgs-${{ env.cache-name }}-${{ runner.os }}-${{ hashFiles(env.conda-env-file) }}
|
||||||
restore-keys: ${{ env.cache-name }}-${{ runner.os }}-${{ hashFiles('${{ matrix.environment-file }}') }}
|
|
||||||
|
|
||||||
- name: Activate Conda Env
|
- name: Activate Conda Env
|
||||||
uses: conda-incubator/setup-miniconda@v2
|
uses: conda-incubator/setup-miniconda@v2
|
||||||
@ -126,4 +124,3 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: results_${{ matrix.os }}
|
name: results_${{ matrix.os }}
|
||||||
path: outputs/img-samples
|
path: outputs/img-samples
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user