Skip to content

Commit

Permalink
Single cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
mario-deluna committed Sep 18, 2023
1 parent cbd6524 commit 9dde71f
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/static_cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9dde71f

Please sign in to comment.