From 250ebf3d00ba452e8320f8e7cf0fb635b663eba7 Mon Sep 17 00:00:00 2001 From: lukeraymonddowning Date: Wed, 25 Sep 2024 10:11:02 +0100 Subject: [PATCH] wip --- .github/actions/setup/action.yml | 2 ++ .github/workflows/laravel-pint.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 5dc7165..8c513c8 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -22,6 +22,7 @@ runs: - name: Setup cache environment id: extcache uses: shivammathur/cache-extensions@v1 + if: inputs.php-extensions == true with: php-version: ${{ inputs.php-version }} extensions: ${{ inputs.php-extensions }} @@ -29,6 +30,7 @@ runs: - name: Cache extensions uses: actions/cache@v4 + if: inputs.php-extensions == true with: path: ${{ steps.extcache.outputs.dir }} key: ${{ steps.extcache.outputs.key }} diff --git a/.github/workflows/laravel-pint.yml b/.github/workflows/laravel-pint.yml index 120b7f0..fdd5014 100644 --- a/.github/workflows/laravel-pint.yml +++ b/.github/workflows/laravel-pint.yml @@ -19,7 +19,7 @@ jobs: uses: ./.github/actions/setup with: php-version: '8.3' - php-extensions: none + php-extensions: '' - name: Install Laravel Pint run: composer global require laravel/pint