From ce40600732f99123a99cbe69b71c7061aff93c5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=94=E5=BF=B5?= <1@72wo.cn> Date: Mon, 11 Aug 2025 13:28:52 +0800 Subject: [PATCH] Update assets.yml --- .github/workflows/assets.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/assets.yml b/.github/workflows/assets.yml index d55754cfe..d00575a33 100644 --- a/.github/workflows/assets.yml +++ b/.github/workflows/assets.yml @@ -18,7 +18,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.x' # 使用最新稳定版Python + python-version: '3.x' - name: Prepare files for B Repo (remove comments via Python) run: | @@ -65,7 +65,7 @@ for root_dir, _, files in os.walk("temp-b-repo/out/assets"): if file.endswith(".xml"): file_path = os.path.join(root_dir, file) remove_comments_from_xml(file_path) -EOF +EOF # 修正:确保EOF单独成行,且没有多余空格或缩进 # 运行Python脚本处理所有XML文件 python remove_xml_comments.py @@ -79,7 +79,7 @@ EOF - name: Push to Private B Repo env: B_REPO_TOKEN: ${{ secrets.B_REPO_TOKEN }} - B_REPO_URL: https://github.com/TO-teams/flash.git + B_REPO_URL: https://kkgithub.com/TO-teams/flash.git B_BRANCH: main run: | git config --global user.name "GitHub Actions"