Skip to content

Commit

Permalink
Change php installation tool
Browse files Browse the repository at this point in the history
  • Loading branch information
kirmorozov authored Jan 14, 2021
1 parent 663ca66 commit 025c999
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,10 @@ jobs:
php: [ '7.4', '8.0' ]
steps:
- uses: actions/checkout@v2
- name: install PHP
run: >
sudo apt install software-properties-common && \
sudo add-apt-repository ppa:ondrej/php && \
sudo apt-get update \
sudo apt-get install php$PHP_VERSION php$PHP_VERSION-dev
env:
PHP_VERSION: ${{ matrix.php }}
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- name: make
run: make
- name: make install
Expand Down

0 comments on commit 025c999

Please sign in to comment.