This repository has been archived by the owner on Jan 5, 2025. It is now read-only.
fix: clipping issue with render distance being set too high. #40
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
pull_request: | |
branches: [ main ] | |
push: | |
branches: | |
- main | |
jobs: | |
client: | |
name: Build Client | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: 8 | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Replace ClientConfig.HOST_ADDRESS with PROD_IP | |
run: sed -i "s/127.0.0.1/${{ secrets.PROD_IP }}/g" client/src/main/java/ClientConfig.java | |
- name: Run Gradle build | |
run: gradle build | |
- name: Rename jar to 2011Scape-Client.jar | |
run: mv client/build/libs/client.jar client/build/libs/2011Scape-Client.jar | |
- name: Upload a Build Artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: 2011Scape Client | |
path: | | |
client/build/libs/* |