Skip to content

Commit

Permalink
GH Actions: fix phar creation
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jrfnl committed Mar 28, 2021
1 parent 5ca9c0c commit e373045
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ jobs:
- name: Install Composer dependencies
uses: ramsey/composer-install@v1
with:
composer-options: "--no-dev"

- name: Building binary...
run: box build -v
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ jobs:
- name: Install Composer dependencies
uses: ramsey/composer-install@v1
with:
composer-options: "--no-dev"

- name: Building binary...
run: box build -v
Expand Down

0 comments on commit e373045

Please sign in to comment.