Skip to content

Bump actions/setup-java from 3 to 4 #209

Bump actions/setup-java from 3 to 4

Bump actions/setup-java from 3 to 4 #209

Workflow file for this run

# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: PR
on:
pull_request:
branches:
- "main"
- "dev"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 16
uses: actions/setup-java@v4
with:
java-version: '16'
distribution: 'adopt'
- name: Build with Gradle
run: ./gradlew clean build
- name: Upload a Build Artifact
uses: actions/upload-artifact@v3
if: success()
with:
name: CrossplatForms
path: |
spigot/build/libs/CrossplatForms-Spigot.jar
spigot-legacy/build/libs/CrossplatForms-SpigotLegacy.jar
bungeecord/build/libs/CrossplatForms-BungeeCord.jar
velocity/build/libs/CrossplatForms-Velocity.jar