new method to sync chat #5
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
name: Build-1.18 | |
on: | |
push: | |
branches: [ "1.18.2" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Make Gradle Wrapper Executable | |
run: chmod +x ./gradlew | |
working-directory: ${{ github.workspace }} | |
- name: Validate Gradle Wrapper | |
uses: gradle/wrapper-validation-action@v1 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Build | |
id: build | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: build | |
env: | |
SNAPSHOT: true | |
- name: Build Artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Player_Sync | |
path: | | |
build/libs/ |