Skip to content

Commit b9ad68a

Browse files
authored
Accept Gradle's terms of service in GitHub actions (#1870)
We need to declare that we have accepted Gradle's terms of service to publish build scans on the default Gradle Develocity server. **Reviewer advice:** to verify that this change really does enable publishing of build scans, look at [the "🏠 Summary" page for this PR's automated tests](https://github.com/wala/WALA/actions/runs/23517812420?pr=1870). For each job, you should see a summary that includes a white-on-blue "🐘 Build Scan®️" link button. For example: <img width="759" height="344" alt="github com_liblit_WALA_actions_runs_23517464924" src="https://github.com/user-attachments/assets/548922c1-311f-49be-bf6c-892b6a499f22" />
1 parent 7af0ec0 commit b9ad68a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ jobs:
5959
distribution: 'zulu'
6060
- name: Setup Gradle
6161
uses: gradle/actions/setup-gradle@v6
62+
with:
63+
build-scan-publish: true
64+
build-scan-terms-of-use-url: https://gradle.com/terms-of-service
65+
build-scan-terms-of-use-agree: 'yes'
6266
- name: Choose extra Linux-only Gradle tasks
6367
run: echo OS_SPECIFIC_GRADLE_TASKS='publishAllPublicationsToFakeRemoteRepository shellcheck' >> $GITHUB_ENV
6468
if: runner.os == 'Linux'

0 commit comments

Comments
 (0)