mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-16 15:29:54 +03:00
Skip extensions cache if there are no extensions to install
This commit is contained in:
parent
8c93444286
commit
8015c6cc88
1 changed files with 3 additions and 1 deletions
4
.github/actions/ci-setup/action.yml
vendored
4
.github/actions/ci-setup/action.yml
vendored
|
@ -20,6 +20,7 @@ runs:
|
|||
using: composite
|
||||
steps:
|
||||
- name: Setup cache environment
|
||||
if: ${{ inputs.php-extensions }}
|
||||
id: extcache
|
||||
uses: shivammathur/cache-extensions@v1
|
||||
with:
|
||||
|
@ -27,7 +28,8 @@ runs:
|
|||
extensions: ${{ inputs.php-extensions }}
|
||||
key: ${{ inputs.extensions-cache-key }}
|
||||
- name: Cache extensions
|
||||
uses: actions/cache@v3
|
||||
if: ${{ inputs.php-extensions }}
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ${{ steps.extcache.outputs.dir }}
|
||||
key: ${{ steps.extcache.outputs.key }}
|
||||
|
|
Loading…
Add table
Reference in a new issue