Fix nightly build, take 2

This commit is contained in:
Pascal Birchler 2025-04-07 16:47:12 +02:00
parent 7b2de5c2c7
commit ff9b5f270c
No known key found for this signature in database
GPG key ID: 0DECE73DD74E8B2F
2 changed files with 2 additions and 5 deletions

View file

@ -27,8 +27,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: mcp

- name: Setup PHP
uses: shivammathur/setup-php@v2
@ -40,7 +38,7 @@ jobs:
- name: Install PHP dependencies
uses: ramsey/composer-install@v3
with:
composer-options: '--prefer-dist --no-progress --no-interaction --no-scripts'
composer-options: '--prefer-dist --no-progress --no-interaction --no-scripts --no-dev'

- name: Install latest version of dist-archive-command
run: wp package install wp-cli/dist-archive-command:dev-main
@ -67,7 +65,7 @@ jobs:
END

- name: Create ZIP file
run: wp dist-archive . ./mcp.zip
run: wp dist-archive --plugin-dirname=mcp . ./mcp.zip

- name: Prepare GitHub Pages
run: |