mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 13:34:04 +00:00
properly list php versions as strings
This commit is contained in:
parent
fcc01c5fa3
commit
7fd065f17b
2 changed files with 2 additions and 5 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
|
@ -17,9 +17,9 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- laravel: 9
|
- laravel: 9
|
||||||
php: 8.0
|
php: "8.0"
|
||||||
- laravel: 10
|
- laravel: 10
|
||||||
php: 8.1
|
php: "8.1"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
|
||||||
|
|
@ -17,9 +17,6 @@ RUN apt-get update \
|
||||||
&& 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
|
&& 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
|
# set PHP version
|
||||||
RUN update-alternatives --set php /usr/bin/php$PHP_VERSION \
|
RUN update-alternatives --set php /usr/bin/php$PHP_VERSION \
|
||||||
&& update-alternatives --set phar /usr/bin/phar$PHP_VERSION \
|
&& update-alternatives --set phar /usr/bin/phar$PHP_VERSION \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue