File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 19
19
20
20
- name : Create .phar
21
21
run : |
22
- vendor/bin/phar-composer build .
23
- php mozart.phar --version
22
+ wget -O phar-composer.phar https://github.com/clue/phar-composer/releases/download/v1.2.0/phar-composer-1.2.0.phar
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/
29
+
30
+ - name : Test run mozart
31
+ run : php mozart.phar --version
24
32
25
33
- uses : meeDamian/github-release@2.0
26
34
with :
Original file line number Diff line number Diff line change 23
23
}
24
24
},
25
25
"require-dev" : {
26
- "clue/phar-composer" : " ^1.2" ,
27
26
"phpunit/phpunit" : " ^8.5" ,
28
27
"squizlabs/php_codesniffer" : " ^3.5" ,
29
28
"mheap/phpunit-github-actions-printer" : " ^1.4" ,
You can’t perform that action at this time.
0 commit comments