Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ jobs:
run: uv sync --group dev

- name: Build with PyInstaller
run: uv run src/tools/package.py
run: uv run tools/package.py

- name: Upload build artifact
uses: actions/upload-artifact@v7
with:
name: cannotmax-build
path: build/dist/main/
path: output/main/
retention-days: 1

release:
Expand Down
19 changes: 15 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,27 @@ __pycache__/
# 5. 模型权重与构建产物
# ===========================
# 模型文件
/models/
models/*.png
*.pth
*.onnx
*.onnx.data

# 构建与输出目录
/build/
build/
output/

# ===========================
# 6. 数据集与媒体资源
# ===========================
# 基础数据目录
src/resources/assets/images/nums/
/data/
data/images/
data/[0-9][0-9][0-9][0-9]_[0-1][0-9]_[0-3][0-9]__[0-2][0-9]_[0-5][0-9]_[0-5][0-9]/
images/nums/

# 训练相关数据
data_train/tmp/
data_train/package/*.zip
data_train/images/

# 单独的截图文件
screenshot.png
Expand All @@ -58,4 +68,5 @@ tmp
# ===========================
# 8. 其他杂项文件
# ===========================
arknights.csv
multi_ports.txt
Loading