mirror of
https://github.com/appwrite/appwrite
synced 2026-05-06 06:48:22 +00:00
chore: remove restore-keys
This commit is contained in:
parent
5524fdb7b6
commit
919bb9f4bd
1 changed files with 8 additions and 7 deletions
15
.github/workflows/tests.yml
vendored
15
.github/workflows/tests.yml
vendored
|
|
@ -6,6 +6,7 @@ concurrency:
|
|||
|
||||
env:
|
||||
IMAGE: appwrite-dev
|
||||
CACHE_KEY: appwrite-dev-${{ github.event.pull_request.head.sha }}
|
||||
|
||||
on: [pull_request]
|
||||
|
||||
|
|
@ -29,8 +30,8 @@ jobs:
|
|||
push: false
|
||||
tags: ${{ env.IMAGE }}
|
||||
load: true
|
||||
cache-from: type=gha,scope=${{ env.CACHE_KEY }}
|
||||
cache-to: type=gha,mode=max,scope=${{ env.CACHE_KEY }}
|
||||
cache-from: type=gha,scope=appwrite
|
||||
cache-to: type=gha,mode=max,scope=appwrite
|
||||
outputs: type=docker,dest=/tmp/${{ env.IMAGE }}.tar
|
||||
build-args: |
|
||||
DEBUG=false
|
||||
|
|
@ -40,7 +41,7 @@ jobs:
|
|||
- name: Cache Docker Image
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
key: appwrite-dev-${{ hashFiles('**') }}
|
||||
key: ${{ env.CACHE_KEY }}
|
||||
path: /tmp/${{ env.IMAGE }}.tar
|
||||
|
||||
unit_test:
|
||||
|
|
@ -55,7 +56,7 @@ jobs:
|
|||
- name: Load Cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
key: appwrite-dev-${{ hashFiles('**') }}
|
||||
key: ${{ env.CACHE_KEY }}
|
||||
path: /tmp/${{ env.IMAGE }}.tar
|
||||
fail-on-cache-miss: true
|
||||
|
||||
|
|
@ -85,7 +86,7 @@ jobs:
|
|||
- name: Load Cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
key: appwrite-dev-${{ hashFiles('**') }}
|
||||
key: ${{ env.CACHE_KEY }}
|
||||
path: /tmp/${{ env.IMAGE }}.tar
|
||||
fail-on-cache-miss: true
|
||||
|
||||
|
|
@ -133,7 +134,7 @@ jobs:
|
|||
- name: Load Cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
key: appwrite-dev-${{ hashFiles('**') }}
|
||||
key: ${{ env.CACHE_KEY }}
|
||||
path: /tmp/${{ env.IMAGE }}.tar
|
||||
fail-on-cache-miss: true
|
||||
|
||||
|
|
@ -159,7 +160,7 @@ jobs:
|
|||
- name: Load Cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
key: appwrite-dev-${{ hashFiles('**') }}
|
||||
key: ${{ env.CACHE_KEY }}
|
||||
path: /tmp/${{ env.IMAGE }}.tar
|
||||
fail-on-cache-miss: true
|
||||
- name: Load and Start Appwrite
|
||||
|
|
|
|||
Loading…
Reference in a new issue