Skip to content

Commit 483f919

Browse files
committed
fix: php-bin directory does not exist at first build
1 parent 6158304 commit 483f919

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build-php.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ jobs:
3535
git clone https://github.com/crazywhalecc/static-php-cli.git
3636
cd static-php-cli
3737
git checkout main
38-
cd ../php-bin
38+
cd ../
39+
[ ! -d php-bin ] && mkdir -p php-bin
40+
cd php-bin
3941
4042
- shell: bash
4143
run: |

0 commit comments

Comments
 (0)