File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ #
2+ # This file is part of the PHP Code Compiler project
3+ #
4+ # Copyright (c) Yannoff (https://github.com/yannoff)
5+ #
6+ # @project PHP Code Compiler (yannoff/phpcc)
7+ # @homepage https://github.com/yannoff/phpcc
8+ # @license https://github.com/yannoff/phpcc/blob/main/LICENSE
9+ #
10+ # For the full copyright and license information, please view
11+ # the LICENSE file that was distributed with this source code.
12+ #
13+
14+ name : Install PHP Code Compiler (phpcc)
15+ author : Yannoff
16+ description : Install PHP Environment & Download PHP Code Compiler binary (phpcc)
17+
18+ inputs :
19+ php-version :
20+ description : The PHP version to install
21+ required : true
22+
23+ runs :
24+ using : composite
25+ steps :
26+ - name : Install PHP Environment
27+ uses : shivammathur/setup-php@v2
28+ with :
29+ php-version : ${{ inputs.php-version }}
30+ coverage : none
31+
32+ - name : Download phpcc binary
33+ id : phpcc
34+ shell : bash
35+ run : curl -SL -O https://github.com/yannoff/phpcc/releases/latest/download/phpcc && chmod +x ./phpcc && mv -v phpcc /usr/local/bin
You can’t perform that action at this time.
0 commit comments