Browse Source

Enable debugging properties in actions

Him188 4 năm trước cách đây
mục cha
commit
04dda62740

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

@@ -25,8 +25,11 @@ jobs:
         run: ./gradlew assemble -Pmirai.pkc.check.enable --scan
         run: ./gradlew assemble -Pmirai.pkc.check.enable --scan
 
 
       - name: mirai-core Tests
       - 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:
   build-all:
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
     steps:
     steps:
@@ -51,4 +54,8 @@ jobs:
         run: ./gradlew assemble -Pmirai.pkc.check.enable --scan
         run: ./gradlew assemble -Pmirai.pkc.check.enable --scan
 
 
       - name: All Tests
       - 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
         run: ./gradlew assemble -Pmirai.pkc.check.enable --scan
 
 
       - name: Check
       - 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
       - name: Gradle :mirai-core-utils:publish
         run: >
         run: >