7777 - name : Setup Node.js
7878 uses : ./.github/actions/setup-node
7979 with :
80- install-deps : false
80+ setup-safe-chain : false
8181
8282 - name : Setup Rust
8383 uses : ./.github/actions/setup-rust
9696 - name : Setup Azure Code Signing
9797 run : cargo install trusted-signing-cli
9898
99- - name : install frontend dependencies
100- run : npm ci # change this to npm, pnpm or bun depending on which one you use.
101-
10299 # Generate THIRD_PARTY_LICENSES file
103100 # Generate here to include in Tauri build bundle
104101 - name : Install cargo-license
@@ -107,45 +104,6 @@ jobs:
107104 - name : Generate THIRD_PARTY_NOTICES
108105 run : node --experimental-strip-types .github/scripts/generate-licenses.ts tmp
109106
110- - name : Cache WiX Toolset (wix314)
111- if : ${{ matrix.platform == 'windows-latest' }}
112- uses : actions/cache@v5
113- with :
114- path : ~\AppData\Local\tauri\WixTools314
115- key : wix314-${{ runner.os }}-wix3141rtm-v1
116-
117- - name : Preload WiX Toolset (wix314)
118- if : ${{ matrix.platform == 'windows-latest' }}
119- shell : pwsh
120- run : |
121- $ErrorActionPreference = "Stop"
122-
123- $dest = Join-Path $env:LOCALAPPDATA "tauri\WixTools314"
124- if (Test-Path $dest) {
125- Write-Host "WiX already cached: $dest"
126- exit 0
127- }
128-
129- New-Item -ItemType Directory -Force -Path $dest | Out-Null
130-
131- $url = "https://github.com/wixtoolset/wix3/releases/download/wix3141rtm/wix314-binaries.zip"
132- $zip = Join-Path $env:TEMP "wix314-binaries.zip"
133-
134- # curl.exe の方が retry が強い
135- for ($i = 1; $i -le 5; $i++) {
136- try {
137- Write-Host "Downloading WiX ($i/5): $url"
138- & curl.exe -fL --retry 5 --retry-delay 2 --retry-all-errors -o $zip $url
139- break
140- } catch {
141- if ($i -eq 5) { throw }
142- Start-Sleep -Seconds (3 * $i)
143- }
144- }
145-
146- Expand-Archive -Force $zip $dest
147- Write-Host "Extracted WiX to: $dest"
148-
149107 - uses : tauri-apps/tauri-action@19b93bb55601e3e373a93cfb6eb4242e45f5af20 # v0.6.0
150108 env :
151109 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
0 commit comments