Skip to content

Commit

Permalink
Build phar test
Browse files Browse the repository at this point in the history
  • Loading branch information
xqwtxon authored Aug 31, 2023
1 parent aeb1277 commit 30cb2e3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@ jobs:
run: "curl -sL https://github.com/pmmp/PHP-Binaries/releases/latest/download/PHP-Linux-x86_64-PM5.tar.gz -o php.tar.gz"
- name: Extract php-binaries.
run: "tar -xvzf php.tar.gz"
- name: chmod the php-binaries.
run: "chmod +x ./bin/php7/bin/php"
- name: Install php-cs-fixer.
run: "curl -sL https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/releases/latest/download/php-cs-fixer.phar -o php-cs-fixer.phar"
- name: Run php-cs-fixer.
run: "./bin/php7/php php-cs-fixer.phar fix"
run: "./bin/php7/bin/php php-cs-fixer.phar fix"
- name: Run build.php
run: "./bin/php7/php tools/build.php"
run: "./bin/php7/bin/php tools/build.php"
- name: Upload build artifact
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 30cb2e3

Please sign in to comment.