Skip to content

Commit 744d35e

Browse files
committed
Need to build phar without dev dependencies
1 parent ffe6ea0 commit 744d35e

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/php.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ jobs:
113113
uses: "shivammathur/setup-php@v2"
114114
with:
115115
coverage: "none"
116-
php-version: "7.4"
116+
php-version: "8.1"
117117
tools: composer:v2
118118
- name: Get Composer Cache Directory
119119
id: composer-cache
@@ -126,7 +126,7 @@ jobs:
126126
restore-keys: |
127127
${{ runner.os }}-composer-
128128
- name: Install dependencies
129-
run: composer install --prefer-dist --no-progress --no-suggest
129+
run: composer install --prefer-dist --no-progress --no-suggest --no-dev
130130
- name: Build phar
131131
run: |
132132
composer run box-install

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
uses: "shivammathur/setup-php@v2"
2121
with:
2222
coverage: "none"
23-
php-version: "8.0"
23+
php-version: "8.1"
2424

2525
- name: "Install dependencies"
26-
run: "composer install --no-interaction --no-progress --no-suggest"
26+
run: "composer install --no-interaction --no-progress --no-suggest --no-dev"
2727

2828
- name: Build phar
2929
run: |

box.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"src"
44
],
55
"files": [
6-
"vendor/autoload.php",
76
"vendor/symfony/console/Resources/bin/hiddeninput.exe"
87
],
98
"finder": [

0 commit comments

Comments
 (0)