From b769470d0d3206c4bb875016f2cb82807530ae48 Mon Sep 17 00:00:00 2001 From: Connor Yoh Date: Tue, 8 Jul 2025 12:03:53 +0100 Subject: [PATCH] Manually build tauri rather than using action --- .github/workflows/tauri-test.yml | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tauri-test.yml b/.github/workflows/tauri-test.yml index 38239344b..2ff86c3e0 100644 --- a/.github/workflows/tauri-test.yml +++ b/.github/workflows/tauri-test.yml @@ -199,12 +199,23 @@ jobs: run: npm install -g @tauri-apps/cli@v2 - name: Build Tauri app (test mode) - uses: tauri-apps/tauri-action@v0 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + working-directory: ./frontend + run: | + echo "🔧 Building Tauri app for ${{ matrix.name }}..." + npm run tauri-build + echo "✅ Tauri app built successfully for ${{ matrix.name }}" + # uses: tauri-apps/tauri-action@v0 + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # with: + # projectPath: ./frontend + # args: ${{ matrix.args }} + - name: Upload artifacts + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: - projectPath: ./frontend - args: ${{ matrix.args }} + name: tauri-${{ matrix.name }} + path: ./frontend/src-tauri/target/* + retention-days: 7 - name: Verify build artifacts shell: bash