Explorar o código

Enable debugging properties in actions

Him188 %!s(int64=4) %!d(string=hai) anos
pai
achega
04dda62740
Modificáronse 2 ficheiros con 15 adicións e 4 borrados
  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: >