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