From 1d9c275b61f8eb1783b01e00a97c790cd5cf7e09 Mon Sep 17 00:00:00 2001 From: DLmaster361 Date: Thu, 31 Jul 2025 21:53:44 +0800 Subject: [PATCH] ci: fix --- .github/workflows/build-app.yml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build-app.yml b/.github/workflows/build-app.yml index f113815..16db565 100644 --- a/.github/workflows/build-app.yml +++ b/.github/workflows/build-app.yml @@ -51,6 +51,18 @@ jobs: - name: Checkout code uses: actions/checkout@v4 + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: '1.24' + + - name: Build go updater + shell: pwsh + run: | + go moudel init + go install github.com/akavel/rsrc@latest + Go_Updater/build.ps1 + - name: Set up Python uses: actions/setup-python@v5 with: @@ -95,17 +107,6 @@ jobs: output-file: AUTO_MAA output-dir: AUTO_MAA - - name: Set up Go - uses: actions/setup-go@v4 - with: - go-version: '1.24' - - - name: Build go updater - shell: pwsh - run: | - go install github.com/akavel/rsrc@latest - Go_Updater/build.ps1 - - name: Upload unsigned main program id: upload-unsigned-main-program uses: actions/upload-artifact@v4