Skip to content

Commit 6a96ad3

Browse files
committed
Update GitHub workflows
1 parent 7816b1b commit 6a96ad3

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/android.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,6 @@ jobs:
3030
run: chmod +x ./gradlew
3131

3232
- name: Build with Gradle
33-
run: ./gradlew build
33+
run: |
34+
./gradlew --scan --stacktrace \
35+
assemble -x :benchmark:pixel6api31Setup -x :benchmark:pixel6api31NonMinifiedReleaseAndroidTest -x :benchmark:collectNonMinifiedReleaseBaselineProfile

.github/workflows/publish-snapshot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
distribution: adopt
2020
java-version: 17
2121
- name: Release build
22-
run: ./gradlew assemble --scan
22+
run: ./gradlew assemble --scan -x :benchmark:pixel6api31Setup -x :benchmark:pixel6api31NonMinifiedReleaseAndroidTest -x :benchmark:collectNonMinifiedReleaseBaselineProfile
2323
- name: Source jar and dokka
2424
run: ./gradlew androidSourcesJar javadocJar --scan
2525
- name: Publish to MavenCentral

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
distribution: adopt
1919
java-version: 17
2020
- name: Release build
21-
run: ./gradlew assemble --scan
21+
run: ./gradlew assemble --scan -x :benchmark:pixel6api31Setup -x :benchmark:pixel6api31NonMinifiedReleaseAndroidTest -x :benchmark:collectNonMinifiedReleaseBaselineProfile
2222
- name: Source jar and dokka
2323
run: ./gradlew androidSourcesJar javadocJar --scan
2424
- name: Publish to MavenCentral

0 commit comments

Comments
 (0)