فینورا پرو - سامانه جامع حسابداری و صدور فاکتور
ci(A04): quickly retest Windows .fbackup UI with existing NSIS artifact
davoodmehraban89 committed
Oct 16, 2026 at 19:07 UTC
c0a13b3400850e7d1113abc1986255b04896366a
1 file changed
+44
.github/workflows/a04-temporary-fast-native-debug.yml
new
+44
@@ -0,0 +1,44 @@
1
+name: A04 fast native company-backup diagnostics (temporary)
2
+on:
3
+ push:
4
+ branches: ['test/a04-native-encrypted-company-backup-main']
5
+ paths:
6
+ - 'tests/windows-vm-encrypted-company-backup-browser.js'
7
+ - 'tests/windows-vm-installed-tauri-cdp.cjs'
8
+ - 'scripts/windows-vm-fast-native-backup-smoke.ps1'
9
+ - '.github/workflows/a04-temporary-fast-native-debug.yml'
10
+permissions:
11
+ contents: read
12
+ actions: read
13
+jobs:
14
+ reuse-preview:
15
+ runs-on: windows-latest
16
+ timeout-minutes: 20
17
+ steps:
18
+ - uses: actions/checkout@v4
19
+ with:
20
+ persist-credentials: false
21
+ - uses: actions/setup-node@v4
22
+ with:
23
+ node-version: '22'
24
+ - name: Reuse previously built identical-source Windows NSIS
25
+ uses: actions/download-artifact@v4
26
+ with:
27
+ run-id: 38924229527
28
+ github-token: ${{ github.token }}
29
+ name: factor-easypro-windows-pr-preview
30
+ path: test-installer
31
+ - name: Run native encrypted company backup without recompiling Rust
32
+ shell: pwsh
33
+ run: |
34
+ $files = @(Get-ChildItem test-installer -Recurse -Filter '*x64-setup.exe')
35
+ if ($files.Count -ne 1) { throw 'Expected exactly one prebuilt x64 NSIS preview' }
36
+ ./scripts/windows-vm-fast-native-backup-smoke.ps1 -Installer $files[0].FullName -ExpectedVersion '2.0.3'
37
+ - name: Save failure evidence
38
+ if: always()
39
+ uses: actions/upload-artifact@v4
40
+ with:
41
+ name: a04-fast-native-company-backup-evidence
42
+ path: ${{ runner.temp }}/factor-fast-native-backup-lab/reports/*.json
43
+ retention-days: 7
44
+ if-no-files-found: warn