Repository navigation
Commit d08d596
authored
fix(ci): pass the release keystore to Gradle as an absolute path (#1426)
The release build has failed since the AGP 9.4.0 bump:
Execution failed for task ':apps:flipcash:app:validateSigningRelease'.
> Keystore file '/home/runner/.gradle/daemon/9.7.1/key/key' not found
for signing config 'externalOverride'.
`base64-to-file` reports a workspace-relative `key/key`, which the workflow
passed straight through as `android.injected.signing.store.file`. AGP resolves
that property against the Gradle daemon's working directory rather than the
project, so it looked for the keystore under `~/.gradle/daemon/9.7.1/`.
Prefix the path with `github.workspace`. That also retires the second decode
into `apps/flipcash/app/key/` — it only existed to cover the module-relative
resolution, and nothing in the build reads that location.1 parent 02928d3 commit d08d596
1 file changed
Lines changed: 5 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | 138 | | |
146 | 139 | | |
147 | 140 | | |
| |||
157 | 150 | | |
158 | 151 | | |
159 | 152 | | |
160 | | - | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
161 | 157 | | |
162 | 158 | | |
163 | 159 | | |
| |||
0 commit comments