From fe911802f08683ec95bc6afebf0c893cf4d743cb Mon Sep 17 00:00:00 2001 From: Frugan Date: Tue, 18 Jun 2024 19:19:01 +0200 Subject: [PATCH] build: add actions/cache@v4 --- .github/workflows/ci.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9ee845d..dd09524 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,13 +29,21 @@ jobs: - name: Set up Docker uses: docker/setup-buildx-action@v1 + #- name: Cache Docker layers + # uses: actions/cache@v4 + # with: + # path: | + # /tmp/.buildx-cache + # key: ${{ runner.os }}-${{ matrix.mariadb_tag }}-${{ matrix.wordpress_tag }}-${{ matrix.node_tag }}-buildx-${{ hashFiles('**/.buildx-cache') }} + # restore-keys: | + # ${{ runner.os }}-${{ matrix.mariadb_tag }}-${{ matrix.wordpress_tag }}-${{ matrix.node_tag }}-buildx- + - name: Set GITHUB_ENV run: | echo "IS_LAST_JOB=$([ $(expr ${{ strategy.job-index }} + 1) = ${{ strategy.job-total }} ] && echo true)" >> $GITHUB_ENV - name: Create .env file - run: | - cp .env.dist .env + run: cp .env.dist .env # method #1 - name: Install mkcert