mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-08-02 13:48:15 +02:00
Manually build tauri rather than using action
This commit is contained in:
parent
404d86e871
commit
b769470d0d
21
.github/workflows/tauri-test.yml
vendored
21
.github/workflows/tauri-test.yml
vendored
@ -199,12 +199,23 @@ jobs:
|
|||||||
run: npm install -g @tauri-apps/cli@v2
|
run: npm install -g @tauri-apps/cli@v2
|
||||||
|
|
||||||
- name: Build Tauri app (test mode)
|
- name: Build Tauri app (test mode)
|
||||||
uses: tauri-apps/tauri-action@v0
|
working-directory: ./frontend
|
||||||
env:
|
run: |
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
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:
|
with:
|
||||||
projectPath: ./frontend
|
name: tauri-${{ matrix.name }}
|
||||||
args: ${{ matrix.args }}
|
path: ./frontend/src-tauri/target/*
|
||||||
|
retention-days: 7
|
||||||
|
|
||||||
- name: Verify build artifacts
|
- name: Verify build artifacts
|
||||||
shell: bash
|
shell: bash
|
||||||
|
Loading…
Reference in New Issue
Block a user