Skip to content

Commit

Permalink
Use provided PHPversion
Browse files Browse the repository at this point in the history
  • Loading branch information
vmcj committed Dec 4, 2024
1 parent e60aa86 commit d5e8126
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/jobs/baseinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,15 @@

export version="$1"
db=${2:-install}
phpversion="${3}"

set -eux

if [ -z "$phpversion" ]; then
PHPVERSION=$(php -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION."\n";')
export PHPVERSION
fi

show_phpinfo "$PHPVERSION"

section_start "Run composer"
export APP_ENV="dev"
Expand Down

0 comments on commit d5e8126

Please sign in to comment.