-
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #121 from coenjacobs/fix-release-script
Fix release script for building PHAR without development dependencies
- Loading branch information
Showing
2 changed files
with
10 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,8 +19,16 @@ jobs: | |
|
||
- name: Create .phar | ||
run: | | ||
vendor/bin/phar-composer build . | ||
php mozart.phar --version | ||
wget -O phar-composer.phar https://github.com/clue/phar-composer/releases/download/v1.2.0/phar-composer-1.2.0.phar | ||
mkdir build | ||
mv vendor build/vendor | ||
mv src build/src | ||
mv bin build/bin | ||
mv composer.json build | ||
php -d phar.readonly=off phar-composer.phar build ./build/ | ||
- name: Test run mozart | ||
run: php mozart.phar --version | ||
|
||
- uses: meeDamian/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dbcdeb9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@coenjacobs WoW! 14MB->1MB