Commit b806798
committed
ci(build): Add retry logic to desktop build workflow
This commit introduces a retry mechanism to the Gradle build commands in the `build-desktop-platforms.yml` GitHub Actions workflow. This is intended to improve the reliability of the build process by automatically retrying failed packaging tasks up to three times with an exponential backoff.
Key changes:
- A `retry` shell function has been added to the Windows, macOS, and Linux build jobs.
- The `packageExe`, `packageMsi`, `packageDmg`, `packagePkg`, `packageDeb`, and `packageRpm` Gradle tasks now use this retry logic.
- The `--no-daemon` flag has been added to the Gradle commands to prevent potential build conflicts.
- The `AppImage` packaging and upload steps have been removed from the Linux build job.1 parent 3146bd0 commit b806798
1 file changed
Lines changed: 77 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | | - | |
30 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
31 | 53 | | |
32 | 54 | | |
33 | 55 | | |
| |||
56 | 78 | | |
57 | 79 | | |
58 | 80 | | |
59 | | - | |
| 81 | + | |
60 | 82 | | |
61 | | - | |
62 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
63 | 108 | | |
64 | 109 | | |
65 | 110 | | |
| |||
87 | 132 | | |
88 | 133 | | |
89 | 134 | | |
90 | | - | |
| 135 | + | |
91 | 136 | | |
92 | | - | |
93 | | - | |
94 | | - | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
95 | 162 | | |
96 | 163 | | |
97 | 164 | | |
| |||
100 | 167 | | |
101 | 168 | | |
102 | 169 | | |
103 | | - | |
104 | 170 | | |
0 commit comments