diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6718c97..0fe3a45 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,7 +41,7 @@ jobs: - name: Build with Gradle Wrapper run: | NOW=$(date '+%Y-%m-%d-%H.%M') - ./gradlew build -Pminecraft_version="${{ matrix.minecraft }}" -Partifact_date=".artifact_$NOW" + ./gradlew build -Pminecraft_version="${{ matrix.minecraft }}" -Partifact_date=".artifact_$NOW" --scan # NOTE: The Gradle Wrapper is the default and recommended way to run Gradle (https://docs.gradle.org/current/userguide/gradle_wrapper.html). # If your project does not have the Gradle Wrapper configured, you can use the following configuration to run Gradle with a specified version. @@ -80,6 +80,7 @@ jobs: runs-on: ubuntu-latest permissions: contents: write + if: github.event_name != 'pull_request' steps: - uses: actions/checkout@v4 diff --git a/settings.gradle b/settings.gradle index 6b8a9ce..2f7dc16 100644 --- a/settings.gradle +++ b/settings.gradle @@ -12,9 +12,17 @@ pluginManagement { plugins { id "org.gradle.toolchains.foojay-resolver-convention" version "+" + id "com.gradle.develocity" version "3.18.1" } include ("fabric") include ("forge") -rootProject.name = "Tianjin-Metro" \ No newline at end of file +rootProject.name = "Tianjin-Metro" + +develocity { + buildScan { + termsOfUseUrl = "https://gradle.com/help/legal-terms-of-use" + termsOfUseAgree = "yes" + } +}