Skip to content

Commit

Permalink
Add PHP 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur authored Nov 30, 2020
1 parent 0a92543 commit d014fa2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
fail-fast: false
matrix:
operating-system: [ubuntu-20.04, ubuntu-18.04, ubuntu-16.04]
php-versions: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4']
php-versions: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0']
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
if: "!contains(github.event.head_commit.message, 'skip-build')"
steps:
Expand All @@ -32,11 +32,11 @@ jobs:
version='${{ matrix.php-versions }}'
versions=""
if [ "$DISTRIB_RELEASE" = "20.04" ]; then
versions="7.4"
versions="7.4 8.0"
elif [ "$DISTRIB_RELEASE" = "18.04" ]; then
versions="7.1 7.2 7.3 7.4"
versions="7.1 7.2 7.3 7.4 8.0"
elif [ "$DISTRIB_RELEASE" = "16.04" ]; then
versions="5.6 7.0 7.1 7.2 7.3 7.4"
versions="5.6 7.0 7.1 7.2 7.3 7.4 8.0"
fi
for i in $versions; do
if [ "$i" = "$version" ]; then
Expand Down

0 comments on commit d014fa2

Please sign in to comment.