mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-21 16:38:37 -06:00
Skip extensions cache if there are no extensions to install
This commit is contained in:
parent
8c93444286
commit
8015c6cc88
4
.github/actions/ci-setup/action.yml
vendored
4
.github/actions/ci-setup/action.yml
vendored
@ -20,6 +20,7 @@ runs:
|
|||||||
using: composite
|
using: composite
|
||||||
steps:
|
steps:
|
||||||
- name: Setup cache environment
|
- name: Setup cache environment
|
||||||
|
if: ${{ inputs.php-extensions }}
|
||||||
id: extcache
|
id: extcache
|
||||||
uses: shivammathur/cache-extensions@v1
|
uses: shivammathur/cache-extensions@v1
|
||||||
with:
|
with:
|
||||||
@ -27,7 +28,8 @@ runs:
|
|||||||
extensions: ${{ inputs.php-extensions }}
|
extensions: ${{ inputs.php-extensions }}
|
||||||
key: ${{ inputs.extensions-cache-key }}
|
key: ${{ inputs.extensions-cache-key }}
|
||||||
- name: Cache extensions
|
- name: Cache extensions
|
||||||
uses: actions/cache@v3
|
if: ${{ inputs.php-extensions }}
|
||||||
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ${{ steps.extcache.outputs.dir }}
|
path: ${{ steps.extcache.outputs.dir }}
|
||||||
key: ${{ steps.extcache.outputs.key }}
|
key: ${{ steps.extcache.outputs.key }}
|
||||||
|
Loading…
Reference in New Issue
Block a user