Skip to content

Commit

Permalink
优化代码
Browse files Browse the repository at this point in the history
  • Loading branch information
chenmozhijin committed Sep 28, 2024
1 parent 4055d26 commit bf99ce2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions build_helper/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ def base_builds(cfg: dict) -> None:
openwrt.make("tools/install")
logger.info("开始编译toolchain...")
openwrt.make("toolchain/install")
logger.info("正在清理...")
openwrt.make("clean")

logger.info("下载编译内核所需源码...")
openwrt.download_source("target/download")
Expand Down
6 changes: 4 additions & 2 deletions build_helper/releases.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@
import shutil
from datetime import datetime, timedelta, timezone

from actions_toolkit.github import Context

from .utils.logger import logger
from .utils.network import request_get
from .utils.openwrt import ImageBuilder
from .utils.paths import paths
from .utils.repo import dl_artifact, match_releases, new_release, user_repo, get_current_commit, repo
from actions_toolkit.github import Context
from .utils.repo import dl_artifact, get_current_commit, match_releases, new_release, repo, user_repo


def releases(cfg: dict) -> None:
"""发布到 GitHub"""
Expand Down

0 comments on commit bf99ce2

Please sign in to comment.