New Crowdin updates #3173
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 Pull Request | |
on: | |
push: | |
branches: | |
- mc/* # MC version updates | |
- pr/* # PR rebases | |
pull_request: | |
branches: | |
- 2.x | |
- mc/* | |
- dev/* | |
jobs: | |
build: | |
name: Build and upload | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Git repo | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: 17 | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Build with Gradle | |
run: | | |
chmod +x gradlew | |
./gradlew build --stacktrace | |
- name: Archive plugin jars on GitHub | |
uses: actions/upload-artifact@v3 | |
with: | |
name: EssentialsX plugin jars | |
path: jars/ |