From 16e2a872a139e075d7e0f79718dab83efaf5da64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maur=C3=ADcio=20Meneghini=20Fauth?= Date: Sat, 5 Jun 2021 15:45:40 -0300 Subject: [PATCH] Use Composer 2.0.14 for build-release action MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: MaurĂ­cio Meneghini Fauth --- .github/workflows/other-tools.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/other-tools.yml b/.github/workflows/other-tools.yml index d59cc1fa14..4681f68279 100644 --- a/.github/workflows/other-tools.yml +++ b/.github/workflows/other-tools.yml @@ -32,12 +32,17 @@ jobs: with: php-version: 7.1 extensions: mbstring, iconv, mysqli, zip, gd - tools: composer:v2 - - name: Cache module - uses: actions/cache@v2 + tools: composer:2.0.14 + - name: Get Composer Cache Directory + id: composer-cache + run: | + echo "::set-output name=dir::$(composer config cache-files-dir)" + - uses: actions/cache@v2 with: - path: ~/.composer/cache/ - key: composer-cache + path: ${{ steps.composer-cache.outputs.dir }} + key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} + restore-keys: | + ${{ runner.os }}-composer- - name: Install dependencies run: composer install - uses: actions/setup-node@v1