Skip to content

Commit b8a1436

Browse files
committed
824: Publish build scans.
1 parent 12a0df0 commit b8a1436

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ jobs:
8383
caches
8484
notifications
8585
jdks
86+
build-scan-publish: true
87+
build-scan-terms-of-use-url: "https://gradle.com/help/legal-terms-of-use"
88+
build-scan-terms-of-use-agree: "yes"
89+
8690

8791
- name: Check if code is eligible for deploying snapshot version
8892
id: deploy_check
@@ -128,7 +132,7 @@ jobs:
128132
S3FS_SECRET_KEY: ${{ secrets.S3FS_SECRET_KEY }}
129133
S3FS_REGION: ${{ secrets.S3FS_REGION }}
130134
S3FS_PROTOCOL: "https"
131-
run: ./gradlew build jacocoTestReport -PwithSignature=${{ fromJSON(steps.deploy_check.outputs.result).is_deployable }} --warn --stacktrace
135+
run: ./gradlew build jacocoTestReport -PwithSignature=${{ fromJSON(steps.deploy_check.outputs.result).is_deployable }} --warn --stacktrace --scan
132136

133137
- name: Publish code analysis to Sonarcloud
134138
# [WARNING] The version of Java (11.0.21) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17.

0 commit comments

Comments
 (0)