From 81199f8abd45dbda6c85dfdf33e7016bdabefe19 Mon Sep 17 00:00:00 2001 From: James Cole Date: Wed, 8 Jan 2025 18:39:19 +0100 Subject: [PATCH] Add option for php version. --- .github/workflows/release.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 17cc7b2a..d90c30e0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,6 +7,10 @@ on: description: 'Release "v1.2.3" or "develop"' required: true default: 'develop' + phpversion: + description: 'PHP version' + required: true + default: '8.4' schedule: - cron: '0 3 * * TUE' @@ -36,7 +40,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.3' + php-version: ${{ github.event.inputs.phpversion }} extensions: mbstring, intl, zip, bcmath - name: Cleanup changelog id: cleanup-changelog