Skip to content

Commit e373045

Browse files
committed
GH Actions: fix phar creation
The `phar` file should only contain the files of PHP Parallel Lint and any non-dev requirements. It should not include the `dev` requirements of this package. As things were, it did. Fixed now, by doing the `composer install` with the `--no-dev` option, both for the Test workflow as well as for the Release workflow.
1 parent 5ca9c0c commit e373045

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Diff for: .github/workflows/release.yml

+2
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ jobs:
3535
3636
- name: Install Composer dependencies
3737
uses: ramsey/composer-install@v1
38+
with:
39+
composer-options: "--no-dev"
3840

3941
- name: Building binary...
4042
run: box build -v

Diff for: .github/workflows/test.yml

+2
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ jobs:
6161
6262
- name: Install Composer dependencies
6363
uses: ramsey/composer-install@v1
64+
with:
65+
composer-options: "--no-dev"
6466

6567
- name: Building binary...
6668
run: box build -v

0 commit comments

Comments
 (0)