@@ -177,8 +177,22 @@ jobs: |
177 | 177 | cargo tauri --version |
178 | 178 |
|
179 | 179 | - name: Build and upload artifacts |
180 | | - timeout-minutes: 20 |
181 | | - uses: tauri-apps/tauri-action@390cbe447412ced1303d35abe75287949e43437a |
| 180 | + uses: Wandalen/wretry.action@v3 |
| 181 | + timeout-minutes: 60 |
| 182 | + with: |
| 183 | + attempt_limit: 3 |
| 184 | + attempt_delay: 10000 |
| 185 | + action: tauri-apps/tauri-action@390cbe447412ced1303d35abe75287949e43437a |
| 186 | + with: | |
| 187 | + projectPath: packages/desktop |
| 188 | + uploadWorkflowArtifacts: true |
| 189 | + tauriScript: ${{ (contains(matrix.settings.host, 'ubuntu') && 'cargo tauri') || '' }} |
| 190 | + args: --target ${{ matrix.settings.target }} --config ./src-tauri/tauri.prod.conf.json --verbose |
| 191 | + updaterJsonPreferNsis: true |
| 192 | + releaseId: ${{ needs.publish.outputs.release }} |
| 193 | + tagName: ${{ needs.publish.outputs.tag }} |
| 194 | + releaseAssetNamePattern: opencode-desktop-[platform]-[arch][ext] |
| 195 | + releaseDraft: true |
182 | 196 | env: |
183 | 197 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
184 | 198 | TAURI_BUNDLER_NEW_APPIMAGE_FORMAT: true |
@@ -190,16 +204,6 @@ jobs: |
190 | 204 | APPLE_API_ISSUER: ${{ secrets.APPLE_API_ISSUER }} |
191 | 205 | APPLE_API_KEY: ${{ secrets.APPLE_API_KEY }} |
192 | 206 | APPLE_API_KEY_PATH: ${{ runner.temp }}/apple-api-key.p8 |
193 | | - with: |
194 | | - projectPath: packages/desktop |
195 | | - uploadWorkflowArtifacts: true |
196 | | - tauriScript: ${{ (contains(matrix.settings.host, 'ubuntu') && 'cargo tauri') || '' }} |
197 | | - args: --target ${{ matrix.settings.target }} --config ./src-tauri/tauri.prod.conf.json --verbose |
198 | | - updaterJsonPreferNsis: true |
199 | | - releaseId: ${{ needs.publish.outputs.release }} |
200 | | - tagName: ${{ needs.publish.outputs.tag }} |
201 | | - releaseAssetNamePattern: opencode-desktop-[platform]-[arch][ext] |
202 | | - releaseDraft: true |
203 | 207 |
|
204 | 208 | publish-release: |
205 | 209 | needs: |
|