kopia lustrzana https://github.com/linuxserver/docker-documentation
Attempt to cache D2 database
Should speed up PR builds, by using the database created by the deploy step.pull/289/head
rodzic
3f0fbb7b46
commit
144f1478a8
|
@ -7,7 +7,6 @@ concurrency:
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
name: Build docs
|
name: Build docs
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -33,6 +32,11 @@ jobs:
|
||||||
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
|
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-pip-
|
${{ runner.os }}-pip-
|
||||||
|
- name: Cache d2 database
|
||||||
|
uses: actions/cache/restore@v4.2.0 # We only want to restore the cache, to avoid overwriting the cache on PRs
|
||||||
|
with:
|
||||||
|
path: .cache/plugin/d2
|
||||||
|
key: ${{ runner.os }}-d2
|
||||||
- name: Install d2
|
- name: Install d2
|
||||||
run: |
|
run: |
|
||||||
mkdir -p /tmp/d2
|
mkdir -p /tmp/d2
|
||||||
|
@ -74,6 +78,11 @@ jobs:
|
||||||
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
|
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-pip-
|
${{ runner.os }}-pip-
|
||||||
|
- name: Cache d2 database
|
||||||
|
uses: actions/cache@v4.2.0
|
||||||
|
with:
|
||||||
|
path: .cache/plugin/d2
|
||||||
|
key: ${{ runner.os }}-d2
|
||||||
- name: Install d2
|
- name: Install d2
|
||||||
run: |
|
run: |
|
||||||
mkdir -p /tmp/d2
|
mkdir -p /tmp/d2
|
||||||
|
|
Ładowanie…
Reference in New Issue