Skip to content

Commit ec63a75

Browse files
authored
Merge pull request #1811 from cdsap/main
Publishing GHA builds to scans.gradle.com
2 parents f73073f + 23f6026 commit ec63a75

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

.github/workflows/Build.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ jobs:
4040
uses: gradle/actions/setup-gradle@v4
4141
with:
4242
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
43+
build-scan-publish: true
44+
build-scan-terms-of-use-url: "https://gradle.com/terms-of-service"
45+
build-scan-terms-of-use-agree: "yes"
4346

4447
- name: Check build-logic
4548
run: ./gradlew :build-logic:convention:check
@@ -206,6 +209,9 @@ jobs:
206209
uses: gradle/actions/setup-gradle@v4
207210
with:
208211
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
212+
build-scan-publish: true
213+
build-scan-terms-of-use-url: "https://gradle.com/terms-of-service"
214+
build-scan-terms-of-use-agree: "yes"
209215

210216
- name: Build projects and run instrumentation tests
211217
uses: reactivecircus/android-emulator-runner@v2

.github/workflows/NightlyBaselineProfiles.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ jobs:
4040
uses: gradle/actions/setup-gradle@v4
4141
with:
4242
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
43+
build-scan-publish: true
44+
build-scan-terms-of-use-url: "https://gradle.com/terms-of-service"
45+
build-scan-terms-of-use-agree: "yes"
4346

4447
- name: Setup Android SDK
4548
uses: android-actions/setup-android@v3

.github/workflows/Release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ jobs:
3737
uses: gradle/actions/setup-gradle@v4
3838
with:
3939
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
40+
build-scan-publish: true
41+
build-scan-terms-of-use-url: "https://gradle.com/terms-of-service"
42+
build-scan-terms-of-use-agree: "yes"
4043

4144
- name: Setup Android SDK
4245
uses: android-actions/setup-android@v3

0 commit comments

Comments
 (0)