Manually build tauri rather than using action

This commit is contained in:
Connor Yoh 2025-07-08 12:03:53 +01:00
parent 404d86e871
commit b769470d0d

View File

@ -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