Skip to content

Commit 42507fd

Browse files
author
SoftOSDev
committed
actions
1 parent f9bef39 commit 42507fd

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ jobs:
2727
runs-on: ubuntu-latest
2828
steps:
2929
- name: Checkout
30-
uses: pnpm/action-setup@v3 # 如果使用 pnpm,请取消此区域注释
30+
uses: actions/checkout@v4
31+
with:
32+
fetch-depth: 0 # 如果未启用 lastUpdated,则不需要
33+
- uses: pnpm/action-setup@v3 # 如果使用 pnpm,请取消此区域注释
3134
with:
3235
version: 9
3336
# - uses: oven-sh/setup-bun@v1 # 如果使用 Bun,请取消注释
@@ -40,7 +43,7 @@ jobs:
4043
uses: actions/configure-pages@v4
4144
- name: Install dependencies
4245
run: pnpm install # 或 pnpm install / yarn install / bun install
43-
- name: Build with VitePress
46+
- name: Build with Vue
4447
run: pnpm run build # 或 pnpm docs:build / yarn docs:build / bun run docs:build
4548
- name: Upload artifact
4649
uses: actions/upload-pages-artifact@v3

0 commit comments

Comments
 (0)