Setup GH Actions For Windows Single-Player

This commit is contained in:
Dark98
2022-08-22 05:44:54 +01:00
parent fab3c3eac7
commit 7bc2b8bf7a
2 changed files with 9 additions and 0 deletions
+3
View File
@@ -25,6 +25,9 @@ jobs:
mkdir -p ~/artifacts
cp "2006Scape Client/target/client-1.0-jar-with-dependencies.jar" ~/artifacts/Client.jar
cp "2006Scape Server/target/server-1.0-jar-with-dependencies.jar" ~/artifacts/Server.jar
cp "2006Scape Server/ServerConfig.Sample.json" ~/artifacts/ServerConfig.json
cp SinglePlayer.bat ~/artifacts/
cp -r "2006Scape Server/plugins" ~/artifacts/
cp -r "2006Scape Server/data" ~/artifacts/
- name: Publish build to GH Actions
uses: actions/upload-artifact@v2
+6
View File
@@ -0,0 +1,6 @@
:: Runs The Server & FileServer
start cmd /k java -jar Server.jar -c ServerConfig.json
:: Used To Wait 6 Seconds Before Running The Client
PING localhost -n 6 >NUL
:: Starts The Client
start cmd /k java -jar Client.jar -s localhost