This repository was archived by the owner on May 1, 2025. It is now read-only.
File tree 2 files changed +22
-0
lines changed
src/main/java/com/andcool 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change 75
75
docker compose build
76
76
docker compose up -d
77
77
EOF
78
+ create-release :
79
+ needs : [build]
80
+ runs-on : ubuntu-latest
81
+ steps :
82
+ - name : Download artifacts
83
+ uses : actions/download-artifact@v4
84
+
85
+ - name : Create Release
86
+ id : create_release
87
+ uses : softprops/action-gh-release@v2
88
+ with :
89
+ files : |
90
+ mc-oauth-all.jar
91
+ draft : false
92
+ prerelease : false
93
+ generate_release_notes : true
94
+ make_latest : true
95
+ env :
96
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 10
10
11
11
import javax .imageio .ImageIO ;
12
12
13
+ import io .netty .util .ResourceLeakDetector ;
13
14
import org .json .JSONObject ;
14
15
15
16
import com .andcool .config .UserConfig ;
@@ -46,6 +47,8 @@ public class OAuthServer {
46
47
public static final String SERVER_ICON = loadIcon ();
47
48
48
49
public static void main (String [] args ) throws Exception {
50
+ ResourceLeakDetector .setLevel (ResourceLeakDetector .Level .PARANOID );
51
+
49
52
UserConfig .load ();
50
53
EventLoopGroup bossGroup = new NioEventLoopGroup (1 );
51
54
EventLoopGroup workerGroup = new NioEventLoopGroup ();
You can’t perform that action at this time.
0 commit comments