From 7ba4323439e93ed24881167d626c11362ca91852 Mon Sep 17 00:00:00 2001 From: Kresna Satya Date: Sat, 6 Jul 2024 06:46:01 +0800 Subject: [PATCH] add setup PHP version before install composer dependencies --- .github/workflows/deploy.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index eb0263b..c85fb74 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -13,6 +13,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: '8.2' - name: Install Composer Dependencies run: composer install --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist - name: Install NPM Dependencies