Merge pull request #289 from linuxserver/d2-cache

pull/290/head
Roxedus 2025-01-23 11:19:43 +01:00 zatwierdzone przez GitHub
commit cdc3dc254c
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 10 dodań i 1 usunięć

Wyświetl plik

@ -7,7 +7,6 @@ concurrency:
cancel-in-progress: true
jobs:
build:
name: Build docs
runs-on: ubuntu-latest
@ -33,6 +32,11 @@ jobs:
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ 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
run: |
mkdir -p /tmp/d2
@ -74,6 +78,11 @@ jobs:
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ 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
run: |
mkdir -p /tmp/d2