From 954c25090bb88e35d5909a25a72e1e22102709d7 Mon Sep 17 00:00:00 2001 From: DLmaster361 Date: Thu, 5 Jun 2025 23:25:08 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E6=B5=8B=E8=AF=95=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E5=B7=A5=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/1.yml | 44 ++++++++++++++++++++++++++++ .github/workflows/build-app-test.yml | 19 ++++++++++++ AUTO_MAA/AUTO_MAA.exe | 0 3 files changed, 63 insertions(+) create mode 100644 .github/workflows/1.yml create mode 100644 AUTO_MAA/AUTO_MAA.exe diff --git a/.github/workflows/1.yml b/.github/workflows/1.yml new file mode 100644 index 0000000..e74e4d9 --- /dev/null +++ b/.github/workflows/1.yml @@ -0,0 +1,44 @@ +# AUTO_MAA:A MAA Multi Account Management and Automation Tool +# Copyright © 2024-2025 DLmaster361 + +# This file is part of AUTO_MAA. + +# AUTO_MAA is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation, either version 3 of the License, +# or (at your option) any later version. + +# AUTO_MAA is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty +# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See +# the GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with AUTO_MAA. If not, see . + +# Contact: DLmaster_361@163.com + +name: Build AUTO_MAA Test + +on: + workflow_dispatch: + +permissions: + contents: write + actions: write + +jobs: + + build_AUTO_MAA: + runs-on: windows-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Upload unsigned artifact + id: upload-unsigned-artifact + uses: actions/upload-artifact@v4 + with: + name: AUTO_MAA + path: AUTO_MAA/AUTO_MAA.exe \ No newline at end of file diff --git a/.github/workflows/build-app-test.yml b/.github/workflows/build-app-test.yml index a3e0c34..4626f64 100644 --- a/.github/workflows/build-app-test.yml +++ b/.github/workflows/build-app-test.yml @@ -94,6 +94,25 @@ jobs: output-file: AUTO_MAA output-dir: AUTO_MAA + - name: Upload unsigned artifact + id: upload-unsigned-artifact + uses: actions/upload-artifact@v4 + with: + name: AUTO_MAA + path: AUTO_MAA/AUTO_MAA.exe + + - name: Sign main program + id: sign_main_program + uses: signpath/github-action-submit-signing-request@v1.2 + with: + api-token: '${{ secrets.SIGNPATH_API_TOKEN }}' + organization-id: '787a1d5f-6177-4f30-9559-d2646473584a' + project-slug: 'AUTO_MAA_' + signing-policy-slug: 'test-signing' + github-artifact-id: '${{ steps.upload-unsigned-artifact.outputs.artifact-id }}' + wait-for-completion: true + output-artifact-directory: 'AUTO_MAA' + - name: Add other resources shell: pwsh run: | diff --git a/AUTO_MAA/AUTO_MAA.exe b/AUTO_MAA/AUTO_MAA.exe new file mode 100644 index 0000000..e69de29