Jelajahi Sumber

Enable debugging properties in actions

Him188 4 tahun lalu
induk
melakukan
04dda62740
2 mengubah file dengan 15 tambahan dan 4 penghapusan
  1. 10 3
      .github/workflows/build.yml
  2. 5 1
      .github/workflows/release.yml

+ 10 - 3
.github/workflows/build.yml

@@ -25,8 +25,11 @@ jobs:
         run: ./gradlew assemble -Pmirai.pkc.check.enable --scan
 
       - name: mirai-core Tests
-        run: ./gradlew check -Pmirai.pkc.check.enable --scan
-
+        run: >
+        ./gradlew check -Pmirai.pkc.check.enable --scan
+        -Dmirai.debug.network.show.all.components=true
+        -Dkotlinx.coroutines.debug=on
+        -Dmirai.debug.network.show.packet.details=true
   build-all:
     runs-on: ubuntu-latest
     steps:
@@ -51,4 +54,8 @@ jobs:
         run: ./gradlew assemble -Pmirai.pkc.check.enable --scan
 
       - name: All Tests
-        run: ./gradlew check -Pmirai.pkc.check.enable --scan
+        run: >
+        ./gradlew check -Pmirai.pkc.check.enable --scan
+        -Dmirai.debug.network.show.all.components=true
+        -Dkotlinx.coroutines.debug=on
+        -Dmirai.debug.network.show.packet.details=true

+ 5 - 1
.github/workflows/release.yml

@@ -61,7 +61,11 @@ jobs:
         run: ./gradlew assemble -Pmirai.pkc.check.enable --scan
 
       - name: Check
-        run: ./gradlew check -Pmirai.pkc.check.enable --scan
+        run: >
+        ./gradlew check -Pmirai.pkc.check.enable --scan
+        -Dmirai.debug.network.show.all.components=true
+        -Dkotlinx.coroutines.debug=on
+        -Dmirai.debug.network.show.packet.details=true
 
       - name: Gradle :mirai-core-utils:publish
         run: >