1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 06:24:04 +00:00

properly list php versions as strings

This commit is contained in:
Samuel Štancl 2023-02-16 14:14:39 +01:00
parent fcc01c5fa3
commit 7fd065f17b
2 changed files with 2 additions and 5 deletions

View file

@ -17,9 +17,9 @@ jobs:
matrix:
include:
- laravel: 9
php: 8.0
php: "8.0"
- laravel: 10
php: 8.1
php: "8.1"
steps:
- uses: actions/checkout@v2

View file

@ -17,9 +17,6 @@ RUN apt-get update \
&& apt-get update \
&& ACCEPT_EULA=Y apt-get install -y unixodbc-dev=2.3.7 unixodbc=2.3.7 odbcinst1debian2=2.3.7 odbcinst=2.3.7 msodbcsql17
# temporary fix (the below step wasn't working properly on GH)
RUN rm -f /etc/alternatives/php && sudo update-alternatives --install /usr/bin/php php /usr/bin/php$PHP_VERSION 1
# set PHP version
RUN update-alternatives --set php /usr/bin/php$PHP_VERSION \
&& update-alternatives --set phar /usr/bin/phar$PHP_VERSION \