Skip to content

Commit d5e8126

Browse files
committed
Use provided PHPversion
1 parent e60aa86 commit d5e8126

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/jobs/baseinstall.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,15 @@
44

55
export version="$1"
66
db=${2:-install}
7+
phpversion="${3}"
78

89
set -eux
910

11+
if [ -z "$phpversion" ]; then
1012
PHPVERSION=$(php -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION."\n";')
11-
export PHPVERSION
13+
fi
14+
15+
show_phpinfo "$PHPVERSION"
1216

1317
section_start "Run composer"
1418
export APP_ENV="dev"

0 commit comments

Comments
 (0)