From feaded231b88fcc65ef6cedc311feeb4a6a995d5 Mon Sep 17 00:00:00 2001 From: DongChen Lin <393227948@qq.com> Date: Fri, 8 Nov 2024 12:05:32 +0800 Subject: [PATCH] Update macos-m1-debug.yml --- .github/workflows/macos-m1-debug.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/macos-m1-debug.yml b/.github/workflows/macos-m1-debug.yml index e475e83..25528ac 100644 --- a/.github/workflows/macos-m1-debug.yml +++ b/.github/workflows/macos-m1-debug.yml @@ -15,9 +15,14 @@ jobs: cd gui yarn install NODE_OPTIONS="--max-old-space-size=4096" yarn build:apps + git fetch --tags yarn build-ztm-macos NODE_OPTIONS="--max-old-space-size=4096" yarn build:debug + + - name: Rename + run: mv ./gui/src-tauri/target/debug/bundle/dmg/ztm_${{ vars.APP_VERSION }}_aarch64.dmg ./gui/src-tauri/target/debug/bundle/dmg/ztm-app-v${{ vars.APP_VERSION }}-macos-arm64.dmg + - uses: actions/upload-artifact@v3 with: - name: release - path: ./gui/src-tauri/target/debug/bundle/dmg/ztm_${{ vars.APP_VERSION }}_aarch64.dmg + name: ztm-app-v${{ vars.APP_VERSION }}-macos-arm64 + path: ./gui/src-tauri/target/debug/bundle/dmg/ztm-app-v${{ vars.APP_VERSION }}-macos-arm64.dmg