Skip to content

Commit 1f1e614

Browse files
committed
Generate install.php after composer version switch
1 parent 8012d0a commit 1f1e614

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/phar_build_and_update.yml

-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ jobs:
5353
- name: Test self-update command
5454
run: php ./n98-magerun2.phar self-update --unstable
5555

56-
5756
# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
5857
# Docs: https://getcomposer.org/doc/articles/scripts.md
5958

build.sh

+2-3
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,8 @@ function create_new_phar() {
7575
# which will then create a no reproducable phar file with a differenz MD5
7676
$COMPOSER_BIN config autoloader-suffix N98MagerunNTS
7777

78-
# Required for some Github Action edge cases where the file vendor/composer/installed.php
79-
# could not be found if previous Magerun installation was done with Composer 1
80-
$COMPOSER_BIN dump-autoload
78+
# Run install again to get the latest install.php and install.json file
79+
$COMPOSER_BIN install
8180

8281
$PHP_BIN $BOX_BIN compile
8382

0 commit comments

Comments
 (0)