mirror of
https://hk.gh-proxy.com/https://github.com/mcp-wp/mcp-server.git
synced 2025-10-03 21:21:17 +08:00
Fix nightly build, take 2
This commit is contained in:
parent
7b2de5c2c7
commit
ff9b5f270c
2 changed files with 2 additions and 5 deletions
6
.github/workflows/nightly-build.yml
vendored
6
.github/workflows/nightly-build.yml
vendored
|
@ -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: |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue