Skip to content

Commit 63073c4

Browse files
Mayank PandeyMayank Pandey
authored andcommitted
minor fixes on windows ci tester
1 parent 634243a commit 63073c4

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
run: |
7373
cd frontend
7474
75-
# Disable updater artifacts to avoid signing requirement in CI
75+
# Disable updater artifacts and resources to avoid signing/missing files in CI
7676
Write-Output "Disabling createUpdaterArtifacts for CI build..."
7777
$configPath = "src-tauri/tauri.conf.json"
7878
$json = Get-Content $configPath -Raw | ConvertFrom-Json
@@ -81,13 +81,17 @@ jobs:
8181
$json.bundle.createUpdaterArtifacts = $false
8282
$updated = $true
8383
}
84+
if ($json.bundle -and $json.bundle.resources) {
85+
$json.bundle.resources = @()
86+
$updated = $true
87+
}
8488
if ($json.plugins -and $json.plugins.updater) {
8589
$json.plugins.PSObject.Properties.Remove('updater')
8690
$updated = $true
8791
}
8892
if ($updated) {
8993
$json | ConvertTo-Json -Depth 20 | Set-Content $configPath
90-
Write-Output "Updated tauri.conf.json to disable signing and remove updater config."
94+
Write-Output "Updated tauri.conf.json to disable signing, resources, and updater config."
9195
}
9296
9397
pnpm run tauri build --debug

0 commit comments

Comments
 (0)