Skip to content

Commit

Permalink
Merge pull request #28 from flownative/task/php-8.3
Browse files Browse the repository at this point in the history
Try to build 8.3.0-RC5 but load sources as 8.3.0RC5
  • Loading branch information
kdambekalns authored Nov 7, 2023
2 parents 4b1c864 + 57a23e5 commit 0b7ea2c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker.build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
build:
strategy:
matrix:
php: [ 7.4.33, 8.0.30, 8.1.25, 8.2.12, 8.3.0RC5 ]
php: [ 7.4.33, 8.0.30, 8.1.25, 8.2.12, 8.3.0-RC5 ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
3 changes: 2 additions & 1 deletion root-files/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ build_compile_php() {
local php_source_url

if [[ "${PHP_VERSION}" =~ ^8.3 ]]; then
php_source_url="https://downloads.php.net/~jakub/php-${PHP_VERSION}.tar.gz"
# different source and replace - separator in version against what PHP uses (i.e. nothing)
php_source_url="https://downloads.php.net/~jakub/php-${PHP_VERSION/-/}.tar.gz"
else
php_source_url="https://www.php.net/distributions/php-${PHP_VERSION}.tar.gz"
fi
Expand Down

0 comments on commit 0b7ea2c

Please sign in to comment.