Skip to content

Commit a22e192

Browse files
committed
ci(workflows): ternary GRADLE_USER_HOME for namespace runner home path
1 parent fe5188d commit a22e192

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build-android-e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
runs-on: ${{ inputs.runner_provider == 'namespace' && 'namespace-profile-metamask-android-build' || 'ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04-lg' }} # Optimized for lg runner (48GB) with conservative memory settings
3838
timeout-minutes: 40
3939
env:
40-
GRADLE_USER_HOME: /home/admin/_work/.gradle
40+
GRADLE_USER_HOME: ${{ inputs.runner_provider == 'namespace' && '/home/runner/_work/.gradle' || '/home/admin/_work/.gradle' }}
4141
CACHE_GENERATION: v1 # Increment this to bust the cache (v1, v2, v3, etc.)
4242
YARN_ENABLE_GLOBAL_CACHE: 'true' # Enable Yarn global cache for faster installs
4343
outputs:

0 commit comments

Comments
 (0)