Skip to content
Merged
16 changes: 9 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@ on:
inputs:
PACKAGE_VERSION:
description: 'Package Version'
required: true
required: false
jobs:
create_archive:
uses: inpsyde/reusable-workflows/.github/workflows/build-plugin-archive.yml@build-plugin-archive-dist-old-version
uses: inpsyde/reusable-workflows/.github/workflows/build-and-distribute.yml@main
secrets:
GITHUB_USER_EMAIL: ${{ secrets.DEPLOYBOT_EMAIL }}
GITHUB_USER_NAME: ${{ secrets.DEPLOYBOT_USER }}
GITHUB_USER_SSH_KEY: ${{ secrets.DEPLOYBOT_SSH_PRIVATE_KEY }}
GITHUB_USER_SSH_PUBLIC_KEY: ${{ secrets.DEPLOYBOT_SSH_PUBLIC_KEY }}
with:
PLUGIN_VERSION: ${{ inputs.PACKAGE_VERSION }}
PHP_VERSION: 7.4
PLUGIN_MAIN_FILE: mollie-payments-for-woocommerce.php
ARCHIVE_NAME: mollie-payments-for-woocommerce-${{ inputs.PACKAGE_VERSION }}
PLUGIN_FOLDER_NAME: mollie-payments-for-woocommerce
PACKAGE_NAME: mollie-payments-for-woocommerce
PACKAGE_VERSION: ${{ inputs.PACKAGE_VERSION }}
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": ">=7.4",
"php": "^7.4 | ^8.0",
"ext-intl": "*",
"ext-json": "*",
"mollie/mollie-api-php": "^v2.40",
Expand Down Expand Up @@ -85,6 +85,9 @@
}
},
"config": {
"platform": {
"php": "7.4"
},
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"composer/package-versions-deprecated": true,
Expand Down
Loading
Loading