Skip to content

Commit a319b25

Browse files
committed
Build PHAR in subdir and with specific files only
1 parent 202a7e1 commit a319b25

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,12 @@ jobs:
2020
- name: Create .phar
2121
run: |
2222
wget -O phar-composer.phar https://github.com/clue/phar-composer/releases/download/v1.2.0/phar-composer-1.2.0.phar
23-
php phar-composer.phar build .
23+
mkdir build
24+
mv vendor build/vendor
25+
mv src build/src
26+
mv bin build/bin
27+
mv composer.json build
28+
php -d phar.readonly=off phar-composer.phar build ./build/
2429
2530
- name: Test run mozart
2631
run: php mozart.phar --version

0 commit comments

Comments
 (0)