From 9e285b96c5f301c2110d969e226f4571fbde812e Mon Sep 17 00:00:00 2001 From: Josh Shippam Date: Sun, 19 Feb 2023 01:58:06 +0000 Subject: [PATCH] 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 --- .github/workflows/maven.yml | 12 +++++++----- SinglePlayer.bat | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 030018ea..18f298bf 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -13,11 +13,13 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up JDK 1.8 - uses: actions/setup-java@v1 + uses: actions/setup-java@v2 with: - java-version: 1.8 + distribution: 'zulu' + java-version: '8' + cache: 'maven' - name: Build with Maven id: build run: | @@ -30,7 +32,7 @@ jobs: cp -r "2006Scape Server/plugins" ~/artifacts/ cp -r "2006Scape Server/data" ~/artifacts/ - name: Publish build to GH Actions - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: path: ~/artifacts/* - name: 2006Scape-Build + name: 2006Scape-SinglePlayer diff --git a/SinglePlayer.bat b/SinglePlayer.bat index 652db3e8..52b7b3cc 100644 --- a/SinglePlayer.bat +++ b/SinglePlayer.bat @@ -1,5 +1,5 @@ :: 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 PING localhost -n 6 >NUL :: Starts The Client