mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-17 19:48:31 +02:00
Add CACHE_STRING secret to allow maintainers to bust cache without a commit
This commit is contained in:
parent
b932cfc9ad
commit
af6d94c584
1 changed files with 2 additions and 2 deletions
4
.github/workflows/testing.yaml
vendored
4
.github/workflows/testing.yaml
vendored
|
@ -45,11 +45,11 @@ jobs:
|
|||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
- name: poetry cache
|
||||
- name: poetry cache # Change CACHE_STRING secret to bust the cache. Useful with minor Python version changes.
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: .venv
|
||||
key: ${{ runner.os }}-${{ hashFiles('poetry.lock') }}-${{ matrix.python-version }}-v2
|
||||
key: ${{ runner.os }}-${{ hashFiles('poetry.lock') }}-${{ matrix.python-version }}-v2-${{ secrets.CACHE_STRING }}
|
||||
|
||||
- name: Install dependencies
|
||||
if: ${{ matrix.python-version != '3.10-dev' }}
|
||||
|
|
Loading…
Add table
Reference in a new issue