mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
Appended a number by default on every cache key to easily force
its regeneration by hand.
This commit is contained in:
parent
508f8df47f
commit
131aee1a82
3 changed files with 16 additions and 16 deletions
10
.github/workflows/linux_checks.yml
vendored
10
.github/workflows/linux_checks.yml
vendored
|
@ -16,27 +16,27 @@ jobs:
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ~/.cargo/registry
|
path: ~/.cargo/registry
|
||||||
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.toml') }}
|
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.toml') }}-1
|
||||||
- name: Cache cargo index
|
- name: Cache cargo index
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ~/.cargo/git
|
path: ~/.cargo/git
|
||||||
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.toml') }}
|
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.toml') }}-1
|
||||||
- name: Cache cargo target
|
- name: Cache cargo target
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ~/target
|
path: ~/target
|
||||||
key: ${{ runner.os }}-cargo-target-${{ hashFiles('**/Cargo.toml') }}
|
key: ${{ runner.os }}-cargo-target-${{ hashFiles('**/Cargo.toml') }}-1
|
||||||
- name: Cache pip wheels
|
- name: Cache pip wheels
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ~/.cache/pip
|
path: ~/.cache/pip
|
||||||
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
|
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}-1
|
||||||
- name: Cache pyenv
|
- name: Cache pyenv
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ${{ github.workspace }}/pyenv
|
path: ${{ github.workspace }}/pyenv
|
||||||
key: ${{ runner.os }}-pyenv-${{ hashFiles('**/Makefile') }}-${{ hashFiles('**/requirements.txt') }}-
|
key: ${{ runner.os }}-pyenv-${{ hashFiles('**/Makefile') }}-${{ hashFiles('**/requirements.txt') }}-1
|
||||||
- name: Set up python
|
- name: Set up python
|
||||||
uses: actions/setup-python@v1
|
uses: actions/setup-python@v1
|
||||||
with:
|
with:
|
||||||
|
|
10
.github/workflows/mac_checks.yml.off
vendored
10
.github/workflows/mac_checks.yml.off
vendored
|
@ -13,27 +13,27 @@ jobs:
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ~/.cargo/registry
|
path: ~/.cargo/registry
|
||||||
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.toml') }}
|
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.toml') }}-1
|
||||||
- name: Cache cargo index
|
- name: Cache cargo index
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ~/.cargo/git
|
path: ~/.cargo/git
|
||||||
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.toml') }}
|
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.toml') }}-1
|
||||||
- name: Cache cargo target
|
- name: Cache cargo target
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ~/target
|
path: ~/target
|
||||||
key: ${{ runner.os }}-cargo-target-${{ hashFiles('**/Cargo.toml') }}
|
key: ${{ runner.os }}-cargo-target-${{ hashFiles('**/Cargo.toml') }}-1
|
||||||
- name: Cache pip wheels
|
- name: Cache pip wheels
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ~/Library/Caches/pip
|
path: ~/Library/Caches/pip
|
||||||
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
|
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}-1
|
||||||
- name: Cache pyenv
|
- name: Cache pyenv
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ${{ github.workspace }}/pyenv
|
path: ${{ github.workspace }}/pyenv
|
||||||
key: ${{ runner.os }}-pyenv-${{ hashFiles('**/Makefile') }}-${{ hashFiles('**/requirements.txt') }}-
|
key: ${{ runner.os }}-pyenv-${{ hashFiles('**/Makefile') }}-${{ hashFiles('**/requirements.txt') }}-1
|
||||||
- name: Set up python
|
- name: Set up python
|
||||||
uses: actions/setup-python@v1
|
uses: actions/setup-python@v1
|
||||||
with:
|
with:
|
||||||
|
|
12
.github/workflows/windows_checks.yml
vendored
12
.github/workflows/windows_checks.yml
vendored
|
@ -26,33 +26,33 @@ jobs:
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ${{ github.workspace }}\pyenv
|
path: ${{ github.workspace }}\pyenv
|
||||||
key: ${{ runner.os }}-pyenv-${{ hashFiles('**/Makefile') }}-${{ hashFiles('**/requirements.txt') }}-
|
key: ${{ runner.os }}-pyenv-${{ hashFiles('**/Makefile') }}-${{ hashFiles('**/requirements.txt') }}-1
|
||||||
- name: Cache cargo registry
|
- name: Cache cargo registry
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: C:\Rust\.cargo\registry
|
path: C:\Rust\.cargo\registry
|
||||||
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.toml') }}
|
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.toml') }}-1
|
||||||
- name: Cache cargo index
|
- name: Cache cargo index
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: C:\Rust\.cargo\git
|
path: C:\Rust\.cargo\git
|
||||||
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.toml') }}
|
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.toml') }}-1
|
||||||
- name: Cache cargo target
|
- name: Cache cargo target
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ${{ github.workspace }}\target
|
path: ${{ github.workspace }}\target
|
||||||
key: ${{ runner.os }}-cargo-target-${{ hashFiles('**/Cargo.toml') }}
|
key: ${{ runner.os }}-cargo-target-${{ hashFiles('**/Cargo.toml') }}-1
|
||||||
- name: Cache pip wheels
|
- name: Cache pip wheels
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ~\AppData\Local\pip\Cache
|
path: ~\AppData\Local\pip\Cache
|
||||||
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
|
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}-1
|
||||||
- name: Cache pacman
|
- name: Cache pacman
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
id: cache-pacman
|
id: cache-pacman
|
||||||
with:
|
with:
|
||||||
path: C:\Program Files\Git
|
path: C:\Program Files\Git
|
||||||
key: ${{ runner.os }}-pacman-${{ hashFiles('**/windows_checks.yml') }}
|
key: ${{ runner.os }}-pacman-${{ hashFiles('**/windows_checks.yml') }}-1
|
||||||
- name: Set up pacman, pyaudio, rsync, rename
|
- name: Set up pacman, pyaudio, rsync, rename
|
||||||
if: steps.cache-pacman.outputs.cache-hit != 'true'
|
if: steps.cache-pacman.outputs.cache-hit != 'true'
|
||||||
shell: cmd
|
shell: cmd
|
||||||
|
|
Loading…
Reference in a new issue