mirror of
https://github.com/setube/ogame-vue-ts.git
synced 2026-05-12 07:55:11 +08:00
chore: 优化CI缓存与YAML格式统一
构建流程中Gradle缓存新增build-cache目录,并在assembleRelease时启用--build-cache参数,提升构建效率。统一GitHub Actions YAML文件中分支、标签、条件判断等格式,增强可读性与一致性。
This commit is contained in:
4
.github/workflows/github-pages.yml
vendored
4
.github/workflows/github-pages.yml
vendored
@@ -2,7 +2,7 @@ name: 构建 Github Pages
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ] # 如果你的主分支叫 master,请改为 master
|
||||
branches: [main] # 如果你的主分支叫 master,请改为 master
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
@@ -44,4 +44,4 @@ jobs:
|
||||
path: './docs'
|
||||
|
||||
- name: 部署到 GitHub Pages
|
||||
uses: actions/deploy-pages@v4
|
||||
uses: actions/deploy-pages@v4
|
||||
|
||||
Reference in New Issue
Block a user