Skip to content

Commit

Permalink
Merge pull request #48 from nanasess/php8-on-focal
Browse files Browse the repository at this point in the history
PHP8 support on ubuntu-18.04
  • Loading branch information
nanasess authored Dec 1, 2020
2 parents c0df68e + e85d580 commit 91ce150
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ jobs:
php: 7.4.12
- os: windows-2016
php: 8.0
- os: ubuntu-18.04
php: 8.0
- os: ubuntu-18.04
php: 7.2.12
- os: ubuntu-18.04
Expand Down
2 changes: 1 addition & 1 deletion lib/apt-install-php-ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ fi

sudo apt-get update

if [[ $version = '5.6' ]] || [[ $release = 'focal' && `echo "$version < 7.4 || $version >= 8.0" | bc` == 1 ]]
if [[ $version = '5.6' ]] || [[ `echo "$version < 7.4 || $version >= 8.0" | bc` == 1 ]]
then
sudo add-apt-repository ppa:ondrej/php
sudo apt-fast install -y build-essential debconf-utils unzip autogen autoconf libtool pkg-config
Expand Down

0 comments on commit 91ce150

Please sign in to comment.