Skip to content

Commit

Permalink
build: add actions/cache@v4
Browse files Browse the repository at this point in the history
  • Loading branch information
frugan-dev committed Jun 18, 2024
1 parent 29c9d83 commit fe91180
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fe91180

Please sign in to comment.