mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
revert: reverting commit 39490e9
This commit is contained in:
parent
25650e7501
commit
61dba4eefb
1 changed files with 15 additions and 16 deletions
31
.github/workflows/tests.yml
vendored
31
.github/workflows/tests.yml
vendored
|
|
@ -16,22 +16,22 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v2
|
||||||
|
|
||||||
- name: Build Appwrite
|
- name: Build Appwrite
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: false
|
push: false
|
||||||
tags: ${{ env.IMAGE }}
|
tags: ${{ env.IMAGE }}
|
||||||
load: true
|
load: true
|
||||||
cache-from: type=gha,scope=appwrite
|
cache-from: type=gha
|
||||||
cache-to: type=gha,mode=max,scope=appwrite
|
cache-to: type=gha,mode=max
|
||||||
outputs: type=docker,dest=/tmp/${{ env.IMAGE }}.tar
|
outputs: type=docker,dest=/tmp/${{ env.IMAGE }}.tar
|
||||||
build-args: |
|
build-args: |
|
||||||
DEBUG=false
|
DEBUG=false
|
||||||
|
|
@ -39,13 +39,12 @@ jobs:
|
||||||
VERSION=dev
|
VERSION=dev
|
||||||
|
|
||||||
- name: Cache Docker Image
|
- name: Cache Docker Image
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
key: ${{ env.CACHE_KEY }}
|
key: ${{ env.CACHE_KEY }}
|
||||||
restore-keys: |
|
|
||||||
appwrite-dev-
|
|
||||||
path: /tmp/${{ env.IMAGE }}.tar
|
path: /tmp/${{ env.IMAGE }}.tar
|
||||||
|
|
||||||
|
|
||||||
unit_test:
|
unit_test:
|
||||||
name: Unit Test
|
name: Unit Test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
@ -53,10 +52,10 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Load Cache
|
- name: Load Cache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
key: ${{ env.CACHE_KEY }}
|
key: ${{ env.CACHE_KEY }}
|
||||||
path: /tmp/${{ env.IMAGE }}.tar
|
path: /tmp/${{ env.IMAGE }}.tar
|
||||||
|
|
@ -83,10 +82,10 @@ jobs:
|
||||||
needs: setup
|
needs: setup
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Load Cache
|
- name: Load Cache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
key: ${{ env.CACHE_KEY }}
|
key: ${{ env.CACHE_KEY }}
|
||||||
path: /tmp/${{ env.IMAGE }}.tar
|
path: /tmp/${{ env.IMAGE }}.tar
|
||||||
|
|
@ -131,10 +130,10 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Load Cache
|
- name: Load Cache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
key: ${{ env.CACHE_KEY }}
|
key: ${{ env.CACHE_KEY }}
|
||||||
path: /tmp/${{ env.IMAGE }}.tar
|
path: /tmp/${{ env.IMAGE }}.tar
|
||||||
|
|
@ -158,9 +157,9 @@ jobs:
|
||||||
needs: setup
|
needs: setup
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v3
|
||||||
- name: Load Cache
|
- name: Load Cache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
key: ${{ env.CACHE_KEY }}
|
key: ${{ env.CACHE_KEY }}
|
||||||
path: /tmp/${{ env.IMAGE }}.tar
|
path: /tmp/${{ env.IMAGE }}.tar
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue