diff --git a/.github/workflows/desktop-windows-internal.yml b/.github/workflows/desktop-windows-internal.yml index 656acf08..59f5b016 100644 --- a/.github/workflows/desktop-windows-internal.yml +++ b/.github/workflows/desktop-windows-internal.yml @@ -80,8 +80,19 @@ jobs: VITE_BUILD_CHANNEL: ${{ steps.build-metadata.outputs.channel }} VITE_BUILD_COMMIT: ${{ steps.build-metadata.outputs.commit }} + - name: Write Windows internal Tauri config + shell: pwsh + run: | + $config = @{ + bundle = @{ + createUpdaterArtifacts = $false + } + } | ConvertTo-Json -Depth 8 + Set-Content -Path "tauri.windows.internal.conf.json" -Value $config -Encoding utf8 + Get-Content "tauri.windows.internal.conf.json" + - name: Build unsigned Windows NSIS internal installer - run: npm run desktop:build -- --config '{"bundle":{"createUpdaterArtifacts":false}}' --bundles nsis + run: npm run desktop:build -- --config tauri.windows.internal.conf.json --bundles nsis env: VITE_BUILD_CHANNEL: ${{ steps.build-metadata.outputs.channel }} VITE_BUILD_COMMIT: ${{ steps.build-metadata.outputs.commit }}