Commit aa1eef6
committed
Refactor: Streamline GitHub Actions workflow
This commit refactors the Android GitHub Actions workflow for improved efficiency and clarity.
Key changes include:
- **Removed Container for Setup Job:** The `setup` job no longer runs in a Docker container, simplifying the environment.
- **Simplified Ruby & Bundler Setup:**
- Updated Ruby version from 3.2 to 3.1.
- Leveraged `bundler-cache: true` in `ruby/setup-ruby` action for faster dependency installation.
- Removed explicit `bundle-path` output and its usage in subsequent steps.
- Simplified Bundler installation commands.
- **Direct Secret Usage:** Keystore and key passwords are now directly accessed from secrets within the `local.properties` creation step, removing the need for environment variables for these secrets.
- **Removed Redundant PATH Environment Variable:** The explicit setting of `PATH` environment variable in deployment and build jobs has been removed as Bundler now handles the execution path.
- **Improved Step Naming:** Renamed some steps for better clarity (e.g., "Build with Fastlane" instead of "Run buildBundle lane").1 parent 9be40c3 commit aa1eef6
1 file changed
+12
-36
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | 13 | | |
17 | 14 | | |
18 | 15 | | |
19 | 16 | | |
20 | 17 | | |
21 | 18 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | 19 | | |
27 | 20 | | |
28 | 21 | | |
| |||
40 | 33 | | |
41 | 34 | | |
42 | 35 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
| 36 | + | |
| 37 | + | |
48 | 38 | | |
49 | 39 | | |
50 | 40 | | |
51 | 41 | | |
52 | 42 | | |
53 | 43 | | |
54 | 44 | | |
55 | | - | |
| 45 | + | |
56 | 46 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
| 47 | + | |
| 48 | + | |
62 | 49 | | |
63 | 50 | | |
64 | 51 | | |
| |||
67 | 54 | | |
68 | 55 | | |
69 | 56 | | |
70 | | - | |
71 | | - | |
72 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
73 | 60 | | |
74 | 61 | | |
75 | 62 | | |
| |||
83 | 70 | | |
84 | 71 | | |
85 | 72 | | |
86 | | - | |
87 | | - | |
| 73 | + | |
88 | 74 | | |
89 | | - | |
90 | | - | |
91 | 75 | | |
92 | 76 | | |
93 | 77 | | |
| |||
104 | 88 | | |
105 | 89 | | |
106 | 90 | | |
107 | | - | |
108 | | - | |
109 | 91 | | |
110 | 92 | | |
111 | 93 | | |
| |||
132 | 114 | | |
133 | 115 | | |
134 | 116 | | |
135 | | - | |
| 117 | + | |
136 | 118 | | |
137 | | - | |
138 | | - | |
139 | 119 | | |
140 | 120 | | |
141 | 121 | | |
| |||
145 | 125 | | |
146 | 126 | | |
147 | 127 | | |
148 | | - | |
| 128 | + | |
149 | 129 | | |
150 | | - | |
151 | | - | |
152 | 130 | | |
153 | 131 | | |
154 | 132 | | |
| |||
158 | 136 | | |
159 | 137 | | |
160 | 138 | | |
161 | | - | |
| 139 | + | |
162 | 140 | | |
163 | | - | |
164 | | - | |
0 commit comments