ci(drone): 添加 Go 模块和构建缓存

- 在 restore cache 和 rebuild cache 步骤中添加了 go-mod-cache 和 go
This commit is contained in:
hxt
2025-07-10 21:16:25 +08:00
parent d36a8bec21
commit 9293db3809
5 changed files with 103 additions and 141 deletions

View File

@@ -1 +1,20 @@
package consts
const (
// 笑门官网查询英雄名称和神器名称,用作中文翻译
SimileHeroName = "https://static.smilegatemegaport.com/gameRecord/epic7/epic7_hero.json?_=1729322698936"
SimileArtifactName = "https://static.smilegatemegaport.com/gameRecord/epic7/epic7_artifact.json?_=1729322698936"
// 获取角色信息
HeroListURL = "https://e7-optimizer-game-data.s3-accelerate.amazonaws.com/herodata.json"
// 获取神器信息
ArtifactDataURL = "https://e7-optimizer-game-data.s3-accelerate.amazonaws.com/artifactdata.json"
// 根据角色名字查询配装
HeroNameURL = "https://krivpfvxi0.execute-api.us-west-2.amazonaws.com/dev/getBuilds"
// 官方数据接口示例https://static.smilegatemegaport.com/event/live/epic7/guide/images/hero/c2027_s.png
// 角色图片基础 URL
GfHeroPngURL = "https://static.smilegatemegaport.com/event/live/epic7/guide/images/hero/"
)