Update to latest Geyser API, remove more usage of internals #5
Workflow file for this run
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 Gradle | |
on: | |
push: | |
branches: | |
- 'feature/geyser' | |
pull_request: | |
env: | |
REGISTRY: ghcr.io | |
IMAGE_NAME: ${{ github.repository }} | |
jobs: | |
build-gradle: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: validate gradle wrapper | |
uses: gradle/wrapper-validation-action@v1 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '21' | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Run build with Gradle wrapper | |
run: ./gradlew :spark-geyser:build | |
- name: Upload all artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: jars | |
path: | | |
**/build/libs/spark-1.*-*.jar |