Commit dd34253
authored
Cache Android CI tools and improve download reliability (#4351)
- Updated `scripts/setup-workspace.sh` to use `repo.maven.apache.org` (CDN) instead of `archive.apache.org` for Maven downloads.
- Added `--retry 3 --retry-all-errors` to `curl` commands in `scripts/setup-workspace.sh` for robust downloading of JDKs and Maven.
- Added `actions/cache` to `.github/workflows/scripts-android.yml` to cache the `${{ runner.temp }}/codenameone-tools` directory, preventing redundant downloads in CI.
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>1 parent c43fc81 commit dd34253
File tree
2 files changed
+10
-3
lines changed- .github/workflows
- scripts
2 files changed
+10
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
120 | 127 | | |
121 | 128 | | |
122 | 129 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| |||
0 commit comments