We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 663ca66 commit 025c999Copy full SHA for 025c999
.github/workflows/c-cpp.yml
@@ -15,14 +15,10 @@ jobs:
15
php: [ '7.4', '8.0' ]
16
steps:
17
- uses: actions/checkout@v2
18
- - name: install PHP
19
- run: >
20
- sudo apt install software-properties-common && \
21
- sudo add-apt-repository ppa:ondrej/php && \
22
- sudo apt-get update \
23
- sudo apt-get install php$PHP_VERSION php$PHP_VERSION-dev
24
- env:
25
- PHP_VERSION: ${{ matrix.php }}
+ - name: Setup PHP
+ uses: shivammathur/setup-php@v2
+ with:
+ php-version: ${{ matrix.php }}
26
- name: make
27
run: make
28
- name: make install
0 commit comments