mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-27 17:00:14 +08:00
Don't checkout submodules remotely in CI builds
This commit is contained in:
parent
cafd13478f
commit
1d68c6ab68
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -34,7 +34,7 @@ jobs:
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Checkout submodules
|
||||
run: git submodule update --init --recursive --remote
|
||||
run: git submodule update --init --recursive
|
||||
|
||||
- name: Set up JDK 1.8
|
||||
uses: actions/setup-java@v1
|
||||
|
2
.github/workflows/doc.yml
vendored
2
.github/workflows/doc.yml
vendored
@ -45,7 +45,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Checkout submodules
|
||||
run: git submodule update --init --recursive --remote
|
||||
run: git submodule update --init --recursive
|
||||
|
||||
- name: Set up JDK 1.8
|
||||
uses: actions/setup-java@v1
|
||||
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Checkout submodules
|
||||
run: git submodule update --init --recursive --remote
|
||||
run: git submodule update --init --recursive
|
||||
|
||||
- name: Set up JDK 1.8
|
||||
uses: actions/setup-java@v1
|
||||
|
@ -80,7 +80,7 @@ if (isMiraiConsoleCloned()) {
|
||||
logger.warn(
|
||||
"""
|
||||
[mirai] mirai-console submodule is not configured.
|
||||
Please execute `git submodule init` and `git submodule update --remote` to include mirai-console build if you want.
|
||||
Please execute `git submodule init` and `git submodule update` to include mirai-console build if you want.
|
||||
If you develop only on mirai-core, it's not compulsory to include mirai-console.
|
||||
""".trimIndent()
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user