mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 08:38:32 +02:00
Add CACHE_STRING secret to bust GitHub Actions python cache (#1344)
* Add CACHE_STRING secret to allow maintainers to bust cache without a commit * Quick change Co-authored-by: Jonathan Wren <jonathan@nowandwren.com>
This commit is contained in:
parent
9f16cc42f5
commit
4c0fb344d1
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 }}-${{ secrets.CACHE_STRING }}
|
||||
|
||||
- name: Install dependencies
|
||||
if: ${{ matrix.python-version != '3.10-dev' }}
|
||||
|
|
Loading…
Add table
Reference in a new issue