Skip to content

Commit a1c256d

Browse files
committed
fix(ci): disable ART profile tasks via configureEach — enableArtProfiles removed in AGP 8
1 parent 1d35567 commit a1c256d

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/release-android.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,17 @@ jobs:
8383
id: version
8484
run: echo "version=$(jq -r '.expo.version' mobile_app/app.json)" >> $GITHUB_OUTPUT
8585

86+
- name: Disable ART profile compilation
87+
working-directory: mobile_app/android
88+
run: |
89+
echo "" >> app/build.gradle
90+
echo "// CI: profman absent on ubuntu-latest — skip ART profile tasks" >> app/build.gradle
91+
echo "tasks.configureEach { if (name.contains('ArtProfile')) enabled = false }" >> app/build.gradle
92+
8693
- name: Build release APK
8794
run: |
8895
chmod +x gradlew
8996
./gradlew assembleRelease \
90-
-Pandroid.enableArtProfiles=false \
9197
-PRELEASE_STORE_FILE=release.keystore \
9298
-PRELEASE_STORE_PASSWORD="${{ secrets.KEYSTORE_PASSWORD }}" \
9399
-PRELEASE_KEY_ALIAS="${{ secrets.KEY_ALIAS }}" \

0 commit comments

Comments
 (0)