Skip to content

Commit 66acc5f

Browse files
committed
Stable autoloader suffix for checksum
1 parent 984fbcf commit 66acc5f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/phar.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,18 @@ jobs:
5353
working-directory: "compiler"
5454
run: "php bin/prepare"
5555

56+
- name: "Set autoloader suffix"
57+
run: "composer config autoloader-suffix PHPStanChecksum"
58+
5659
- name: "Compile PHAR for checksum"
5760
working-directory: "compiler/build"
5861
run: "php box.phar compile --no-parallel"
5962
env:
6063
PHAR_CHECKSUM: "1"
6164

65+
- name: "Unset autoloader suffix"
66+
run: "composer config autoloader-suffix --unset"
67+
6268
- name: "Save checksum"
6369
id: "checksum"
6470
run: echo "::set-output name=md5::$(md5sum tmp/phpstan.phar)"

0 commit comments

Comments
 (0)