From 9c946ef6dc37a5e8a4f34cb34b8ad7b8d6d2e816 Mon Sep 17 00:00:00 2001 From: DLmaster Date: Fri, 11 Apr 2025 19:10:59 +0800 Subject: [PATCH] =?UTF-8?q?feat(ci):=20=E9=80=82=E9=85=8D=E6=9C=80?= =?UTF-8?q?=E6=96=B0=E6=89=93=E5=8C=85=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-app.yml | 8 -------- .github/workflows/build-pre.yml | 8 -------- resources/version.json | 6 +++--- 3 files changed, 3 insertions(+), 19 deletions(-) diff --git a/.github/workflows/build-app.yml b/.github/workflows/build-app.yml index 10d8671..e7ff266 100644 --- a/.github/workflows/build-app.yml +++ b/.github/workflows/build-app.yml @@ -76,18 +76,12 @@ jobs: "AUTO_MAA_version=$MAIN_VERSION" | Out-File -FilePath $env:GITHUB_ENV -Append $UPDATER_VERSION=(Get-Content -Path "version_info.txt" -TotalCount 2 | Select-Object -Index 1).Trim() "updater_version=$UPDATER_VERSION" | Out-File -FilePath $env:GITHUB_ENV -Append - - name: Create Zip - id: create_zip - run: | - Compress-Archive -Path app,resources,main.py,AUTO_MAA.exe,requirements.txt,README.md,LICENSE -DestinationPath AUTO_MAA_${{ env.AUTO_MAA_version }}.zip - Compress-Archive -Path Updater.exe -DestinationPath Updater_${{ env.updater_version }}.zip - name: Upload Artifact uses: actions/upload-artifact@v4 with: name: AUTO_MAA_${{ env.AUTO_MAA_version }} path: | AUTO_MAA_${{ env.AUTO_MAA_version }}.zip - Updater_${{ env.updater_version }}.zip - name: Upload Version_Info Artifact uses: actions/upload-artifact@v4 with: @@ -151,14 +145,12 @@ jobs: gh release create "$TAGNAME" --target "main" --title "$NAME" --notes "$NOTES" artifacts/* env: GITHUB_TOKEN: ${{ secrets.WORKFLOW_TOKEN }} - - name: Trigger MirrorChyanUploading run: | gh workflow run --repo $GITHUB_REPOSITORY mirrorchyan gh workflow run --repo $GITHUB_REPOSITORY mirrorchyan_release_note env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Setup SSH Key run: | mkdir -p ~/.ssh diff --git a/.github/workflows/build-pre.yml b/.github/workflows/build-pre.yml index 6051cdf..7adb438 100644 --- a/.github/workflows/build-pre.yml +++ b/.github/workflows/build-pre.yml @@ -76,18 +76,12 @@ jobs: "AUTO_MAA_version=$MAIN_VERSION" | Out-File -FilePath $env:GITHUB_ENV -Append $UPDATER_VERSION=(Get-Content -Path "version_info.txt" -TotalCount 2 | Select-Object -Index 1).Trim() "updater_version=$UPDATER_VERSION" | Out-File -FilePath $env:GITHUB_ENV -Append - - name: Create Zip - id: create_zip - run: | - Compress-Archive -Path app,resources,main.py,AUTO_MAA.exe,requirements.txt,README.md,LICENSE -DestinationPath AUTO_MAA_${{ env.AUTO_MAA_version }}.zip - Compress-Archive -Path Updater.exe -DestinationPath Updater_${{ env.updater_version }}.zip - name: Upload Artifact uses: actions/upload-artifact@v4 with: name: AUTO_MAA_${{ env.AUTO_MAA_version }} path: | AUTO_MAA_${{ env.AUTO_MAA_version }}.zip - Updater_${{ env.updater_version }}.zip - name: Upload Version_Info Artifact uses: actions/upload-artifact@v4 with: @@ -151,14 +145,12 @@ jobs: gh release create "$TAGNAME" --target "main" --title "$NAME" --notes "$NOTES" --prerelease artifacts/* env: GITHUB_TOKEN: ${{ secrets.WORKFLOW_TOKEN }} - - name: Trigger MirrorChyanUploading run: | gh workflow run --repo $GITHUB_REPOSITORY mirrorchyan gh workflow run --repo $GITHUB_REPOSITORY mirrorchyan_release_note env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Setup SSH Key run: | mkdir -p ~/.ssh diff --git a/resources/version.json b/resources/version.json index aa8a30c..316e368 100644 --- a/resources/version.json +++ b/resources/version.json @@ -8,6 +8,9 @@ "添加理智药设置选项 #34", "预接入`mirrorc`" ], + "修复BUG": [ + "对win10主题进一步适配" + ], "程序优化": [ "输入对话框添加回车键确认能力 #35", "用户列表UI改版升级", @@ -16,9 +19,6 @@ ] }, "4.2.5.8":{ - "修复BUG": [ - "对win10主题进一步适配" - ], "程序优化": [ "loguru开始捕获子线程异常", "通知服务添加校验项"