mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-02 16:49:03 +00:00
Single Player changes (#621)
* Enabled GUI By Default For SinglePlayer * GH Actions: Update Output File Name * GH Actions: Update Workflow Actions To Latest Versions * GH Actions: Cache Maven Deps
This commit is contained in:
@@ -13,11 +13,13 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- name: Set up JDK 1.8
|
- name: Set up JDK 1.8
|
||||||
uses: actions/setup-java@v1
|
uses: actions/setup-java@v2
|
||||||
with:
|
with:
|
||||||
java-version: 1.8
|
distribution: 'zulu'
|
||||||
|
java-version: '8'
|
||||||
|
cache: 'maven'
|
||||||
- name: Build with Maven
|
- name: Build with Maven
|
||||||
id: build
|
id: build
|
||||||
run: |
|
run: |
|
||||||
@@ -30,7 +32,7 @@ jobs:
|
|||||||
cp -r "2006Scape Server/plugins" ~/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@v3
|
||||||
with:
|
with:
|
||||||
path: ~/artifacts/*
|
path: ~/artifacts/*
|
||||||
name: 2006Scape-Build
|
name: 2006Scape-SinglePlayer
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
:: Runs The Server & FileServer
|
:: Runs The Server & FileServer
|
||||||
start cmd /k java -jar Server.jar -c ServerConfig.json
|
start cmd /k java -jar Server.jar -c ServerConfig.json -gui
|
||||||
:: Used To Wait 6 Seconds Before Running The Client
|
:: Used To Wait 6 Seconds Before Running The Client
|
||||||
PING localhost -n 6 >NUL
|
PING localhost -n 6 >NUL
|
||||||
:: Starts The Client
|
:: Starts The Client
|
||||||
|
|||||||
Reference in New Issue
Block a user