Skip to content

Commit

Permalink
ci: Add gradle build scans to CI builds
Browse files Browse the repository at this point in the history
  • Loading branch information
matrei committed Aug 6, 2024
1 parent 766c353 commit 6137005
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/gradle-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,8 @@ jobs:
- uses: actions/setup-java@v4
with: { java-version: 11, distribution: temurin }
- uses: gradle/actions/setup-gradle@v4
with:
build-scan-publish: true
build-scan-terms-of-use-url: "https://gradle.com/terms-of-service"
build-scan-terms-of-use-agree: "yes"
- run: ./gradlew check
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:
- uses: actions/setup-java@v4
with: { java-version: 11, distribution: temurin }
- uses: gradle/actions/setup-gradle@v4
with:
build-scan-publish: true
build-scan-terms-of-use-url: "https://gradle.com/terms-of-service"
build-scan-terms-of-use-agree: "yes"

- name: Get the release version from the release tag and set it in gradle.properties
uses: matrei/github-actions/pre-release@main
Expand Down
12 changes: 12 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
plugins {
id 'com.gradle.develocity' version '3.17.6'
id 'com.gradle.common-custom-user-data-gradle-plugin' version '2.0.2'
}

develocity {
buildScan {
publishing.onlyIf { System.getenv('CI') }
uploadInBackground = false
}
}

rootProject.name = 'grails-inertia-plugin'

0 comments on commit 6137005

Please sign in to comment.