Use PHP 7.4 for package GHA

This commit is contained in:
Alex P. 2024-09-03 09:18:35 +03:00
parent f0c12eb041
commit 426f096766
No known key found for this signature in database
GPG key ID: 54487A734A204D71
2 changed files with 2 additions and 2 deletions

View file

@ -29,7 +29,7 @@ jobs:
needs: check_version
uses: inpsyde/reusable-workflows/.github/workflows/build-plugin-archive.yml@feature/PROD-171-rector-archive
with:
PHP_VERSION: 7.2
PHP_VERSION: 7.4
PLUGIN_MAIN_FILE: ./woocommerce-paypal-payments.php
PLUGIN_VERSION: ${{ needs.check_version.outputs.version }}
ARCHIVE_NAME: woocommerce-paypal-payments-${{ needs.check_version.outputs.version }}

View file

@ -27,7 +27,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.2
php-version: 7.4
- name: Fix plugin version input # Add the version number if only suffix entered
run: echo "PACKAGE_VERSION=$(sed -nE '/Version:/s/.* ([0-9.]+).*/\1/p' woocommerce-paypal-payments.php)-$PACKAGE_VERSION" >> $GITHUB_ENV