Skip to content

Commit b342200

Browse files
committed
CI: remove docs/ when package repo
1 parent 3bb708c commit b342200

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ jobs:
4646
uses: actions/checkout@v3
4747
with:
4848
fetch-depth: 1
49+
50+
- name: Remove docs # 删除docs文件夹,程序打包不需要
51+
run: |
52+
rm -rf docs/
4953
5054
# --------------------- 检查文件中的版本名是否和tag名相符 --------------------
5155
- name: Check version

.github/workflows/testbuild.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ jobs:
4949
with:
5050
fetch-depth: 1
5151

52+
- name: Remove docs # 删除docs文件夹,程序打包不需要
53+
run: |
54+
rm -rf docs/
55+
5256
# --------------------------- 安装依赖 ------------------------------------------
5357
- name: Install dependencies (Ubuntu)
5458
if: contains(matrix.os, 'ubuntu')

0 commit comments

Comments
 (0)