From 9dde71fdd9b3049dc66f8b7c60ccf16dfef95101 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20Do=CC=88ring?= Date: Mon, 18 Sep 2023 23:03:59 +0200 Subject: [PATCH] Single cache key --- .github/workflows/static_cli.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/static_cli.yml b/.github/workflows/static_cli.yml index 8fa005c8..f192d555 100644 --- a/.github/workflows/static_cli.yml +++ b/.github/workflows/static_cli.yml @@ -39,14 +39,7 @@ jobs: # Install composer dependencies composer install --no-dev --no-interaction --no-progress --no-suggest --no-scripts --prefer-dist --optimize-autoloader - # Cache downloaded source - - id: cache-download - uses: actions/cache@v3 - with: - path: /tmp/static-php-cli/downloads - key: php-${{ matrix.php-versions }}-dependencies - - - if: steps.cache-download.outputs.cache-hit != 'true' + - if: steps.cache-static-php-cli.outputs.cache-hit != 'true' run: cd /tmp/static-php-cli && ./bin/spc download --with-php=${{ matrix.php-versions }} --all # Run build command