From 6dcadabc10ee6e5d787171b8fa037468b531336a Mon Sep 17 00:00:00 2001 From: LemonNeko Date: Tue, 1 Apr 2025 01:47:25 +0800 Subject: [PATCH] fix(ci): tamagotchi path 2 --- .github/workflows/release-tamagotchi.yml | 4 ++-- apps/stage-tamagotchi-tauri/package.json | 5 +---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release-tamagotchi.yml b/.github/workflows/release-tamagotchi.yml index d93dcb6fd..a7955cccd 100644 --- a/.github/workflows/release-tamagotchi.yml +++ b/.github/workflows/release-tamagotchi.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: include: - - os: macos-13 + - os: macos-latest target: x86_64-apple-darwin arch: x64 artifact: dmg @@ -83,7 +83,7 @@ jobs: run: pnpm run packages:build - name: Build Application - run: pnpm run -F @proj-airi/stage-tamagotchi-tauri tauri build --target ${{ matrix.target }} + run: cd apps/stage-tamagotchi-tauri && pnpm tauri build --target ${{ matrix.target }} - run: | mv apps/stage-tamagotchi-tauri/src-tauri/target/${{ matrix.target }}/release/bundle/airi_${{ github.ref_name }}_${{ matrix.arch }}.${{ matrix.artifact }} \ diff --git a/apps/stage-tamagotchi-tauri/package.json b/apps/stage-tamagotchi-tauri/package.json index f48eb1341..08c19ac0b 100644 --- a/apps/stage-tamagotchi-tauri/package.json +++ b/apps/stage-tamagotchi-tauri/package.json @@ -9,10 +9,7 @@ "start": "electron-vite preview", "dev": "vite", "build": "vite build", - "build:unpack": "tauri build --no-bundle", - "build:win": "tauri build --target x86_64-pc-windows-msvc", - "build:mac": "tauri build --target aarch64-apple-darwin", - "build:linux": "tauri build --target x86_64-unknown-linux-gnu" + "build:unpack": "tauri build --no-bundle" }, "dependencies": { "@11labs/client": "^0.1.0",