From bf31e01395736e8739b5238ac5690d6c1c18ec1d Mon Sep 17 00:00:00 2001 From: PPPPP <32994395+P-PPPP@users.noreply.github.com> Date: Fri, 29 Apr 2022 21:51:17 +0800 Subject: [PATCH] Change DEBUG Mode --- .github/workflows/main.yml | 2 +- actions.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0ea1ef8..d2d8588 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -54,5 +54,5 @@ jobs: with: upload_url: ${{ steps.create_release.outputs.upload_url }} asset_path: ./components/tmp/All.zip - asset_name: All_${{ env.Version }}.zip + asset_name: All.zip asset_content_type: application/zip diff --git a/actions.py b/actions.py index 17f76cc..1dd2d18 100644 --- a/actions.py +++ b/actions.py @@ -128,6 +128,7 @@ def Output_Version(self): ui.Multi_Video_Process(video_path=Config['Sources_Path']) except Exception as e: if not Config["DEBUG"]: raise e + else: os.system(f"echo Error occured:{e}") r.Create_Assets(),r.Output_Version() elif Running_Type == "install": Actions().Install_JianYing()