mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-01 07:02:48 +08:00
Use Composer 2
This commit is contained in:
parent
17d3cc152e
commit
cfd080e531
4 changed files with 7 additions and 3 deletions
1
.github/workflows/package.yml
vendored
1
.github/workflows/package.yml
vendored
|
@ -28,7 +28,6 @@ jobs:
|
|||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: 7.2
|
||||
tools: composer:v1
|
||||
|
||||
- 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
|
||||
|
|
1
.github/workflows/php.yml
vendored
1
.github/workflows/php.yml
vendored
|
@ -17,7 +17,6 @@ jobs:
|
|||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: ${{ matrix.php-versions }}
|
||||
tools: composer:v1
|
||||
|
||||
- name: Validate composer.json and composer.lock
|
||||
run: composer validate
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue