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:
Josh Shippam
2023-02-19 01:58:06 +00:00
committed by GitHub
parent 94026b854f
commit 9e285b96c5
2 changed files with 8 additions and 6 deletions
+7 -5
View File
@@ -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
View File
@@ -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