Skip to content

Commit

Permalink
Merge pull request #4 from user111192/main
Browse files Browse the repository at this point in the history
ci: add build scan
  • Loading branch information
ZiYueCommentary authored Sep 15, 2024
2 parents 333ea5f + afb41e5 commit 5354c60
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -80,6 +80,7 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: write
if: github.event_name != 'pull_request'

steps:
- uses: actions/checkout@v4
Expand Down
10 changes: 9 additions & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
rootProject.name = "Tianjin-Metro"

develocity {
buildScan {
termsOfUseUrl = "https://gradle.com/help/legal-terms-of-use"
termsOfUseAgree = "yes"
}
}

0 comments on commit 5354c60

Please sign in to comment.