small fixes #90
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: Java CI with Gradle | |
on: [ push ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [ 11, 17 ] | |
fail-fast: true | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Set up JDK ${{ matrix.java }} | |
uses: actions/[email protected] | |
with: | |
distribution: adopt | |
java-version: ${{ matrix.java }} | |
- name: Build Plugin | |
run: ./gradlew build | |
- name: Upload Bukkit plugin | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Bukkit plugin built on ${{ matrix.java }} JDK | |
path: "bukkit/build/libs/*.jar" | |
- name: Upload Bungeecord plugin | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Bungee plugin built on ${{ matrix.java }} JDK | |
path: "bungee/build/libs/*.jar" | |
- name: Upload Velocity plugin | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Velocity plugin built on ${{ matrix.java }} JDK | |
path: "velocity/build/libs/*.jar" |