This commit is contained in:
parent
84c2a7d82d
commit
7d36b6d9dc
@ -8,11 +8,11 @@ jobs:
|
||||
Explore-Gitea-Actions:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: |
|
||||
rm -rf ./*
|
||||
git clone $BARE_REPO_DIR $CLONED_REPO_DIR
|
||||
# - run: |
|
||||
# rm -rf ./*
|
||||
# git clone $BARE_REPO_DIR $CLONED_REPO_DIR
|
||||
- run: pwd
|
||||
- run: ls -sl
|
||||
- run: chmod +x ./mvnw
|
||||
- run: sh ./mvnw -DskipTests=true clean package -P prod
|
||||
- run: docker build -t mirai-bot:latest
|
||||
# - run: ls -sl
|
||||
# - run: chmod +x ./mvnw
|
||||
# - run: sh ./mvnw -DskipTests=true clean package -P prod
|
||||
# - run: docker build -t mirai-bot:latest
|
||||
|
@ -1,11 +1,9 @@
|
||||
package info.alinadace.miraibot
|
||||
|
||||
import net.mamoe.mirai.utils.BotConfiguration
|
||||
import org.mybatis.spring.annotation.MapperScan
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication
|
||||
import org.springframework.boot.runApplication
|
||||
import org.springframework.scheduling.annotation.EnableScheduling
|
||||
import xyz.cssxsh.mirai.tool.FixProtocolVersion
|
||||
|
||||
@SpringBootApplication
|
||||
@EnableScheduling
|
||||
@ -13,7 +11,5 @@ import xyz.cssxsh.mirai.tool.FixProtocolVersion
|
||||
class MiraiBotApplication
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
// FixProtocolVersion.fetch(BotConfiguration.MiraiProtocol.ANDROID_PHONE, "8.9.96")
|
||||
FixProtocolVersion.load(BotConfiguration.MiraiProtocol.ANDROID_PAD)
|
||||
runApplication<MiraiBotApplication>(*args)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user