Skip to content

Commit 65b2c62

Browse files
committed
ci: add --optimize-autoloader, fix verify to exit 1 on missing PUC
1 parent d0226dd commit 65b2c62

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/manually-build-zip.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
run: |
3030
npm ci
3131
npm run build
32-
composer install --no-dev
32+
composer install --no-dev --optimize-autoloader
3333
3434
- name: Archive Release
3535
uses: thedoctor0/zip-release@b57d897cb5d60cb78b51a507f63fa184cfe35554 #0.7.6
@@ -55,7 +55,8 @@ jobs:
5555
if unzip -l vmfa-editorial-workflow.zip | grep -q "vendor/yahnis-elsts/plugin-update-checker"; then
5656
echo "✓ Plugin Update Checker is included"
5757
else
58-
echo "✗ WARNING: Plugin Update Checker may be missing"
58+
echo "✗ ERROR: Plugin Update Checker is missing from the release!"
59+
exit 1
5960
fi
6061
6162
- name: Release

.github/workflows/on-release-add.zip.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
run: |
2525
npm ci
2626
npm run build
27-
composer install --no-dev
27+
composer install --no-dev --optimize-autoloader
2828
2929
- name: Archive Release
3030
uses: thedoctor0/zip-release@b57d897cb5d60cb78b51a507f63fa184cfe35554 #0.7.6
@@ -50,7 +50,8 @@ jobs:
5050
if unzip -l vmfa-editorial-workflow.zip | grep -q "vendor/yahnis-elsts/plugin-update-checker"; then
5151
echo "✓ Plugin Update Checker is included"
5252
else
53-
echo "✗ WARNING: Plugin Update Checker may be missing"
53+
echo "✗ ERROR: Plugin Update Checker is missing from the release!"
54+
exit 1
5455
fi
5556
5657
- name: Release

0 commit comments

Comments
 (0)