mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-06 08:39:06 +00:00
Setup GH Actions For Windows Single-Player
This commit is contained in:
@@ -25,6 +25,9 @@ jobs:
|
|||||||
mkdir -p ~/artifacts
|
mkdir -p ~/artifacts
|
||||||
cp "2006Scape Client/target/client-1.0-jar-with-dependencies.jar" ~/artifacts/Client.jar
|
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/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/
|
cp -r "2006Scape Server/data" ~/artifacts/
|
||||||
- name: Publish build to GH Actions
|
- name: Publish build to GH Actions
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
|
|||||||
@@ -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
|
||||||
Reference in New Issue
Block a user