Add Gradle Scan

update ci

[ci skip] update CI
This commit is contained in:
Klop233
2024-04-14 09:51:01 +08:00
committed by ShintoKosei
parent 3250c80efa
commit a9a5779365
3 changed files with 6 additions and 5 deletions

View File

@@ -29,9 +29,9 @@ jobs:
- name: Configure Git User Details
run: git config --global user.email "ci@luminolmc.com" && git config --global user.name "LuminolMC CI"
- name: Apply Patches
run: gradle applyPatches
run: gradle applyPatches --scan
- name: CreateJar
run: gradle createReobfBundlerJar createReobfPaperclipJar
run: gradle createReobfBundlerJar createReobfPaperclipJar --scan
- name: SetENV
run: |
sh scripts/SetENV.sh

View File

@@ -8,6 +8,6 @@ org.gradle.parallel = true
org.gradle.vfs.watch = false
org.gradle.jvmargs = -Xmx3G
mcVersion= 1.20.4
GroupMCV= 1.20
preVersion= false
mcVersion = 1.20.4
GroupMCV = 1.20
preVersion = false

View File

@@ -13,6 +13,7 @@ release_tag="$mcversion-$commitid"
jarName="$project_id-$mcversion-paperclip.jar"
jarName_dir="build/libs/$jarName"
make_latest=$([ $preVersion = "true" ] && echo "false" || echo "true")
number=$(git log --oneline master ^`git describe --tags --abbrev=0` | wc -l)
mv build/libs/$project_id-paperclip-$grdversion-reobf.jar build/libs/$jarName
mv build/libs/$project_id-bundler-$grdversion-reobf.jar build/libs/$project_id-$mcversion-bundler.jar