1.20.6/1.21.1 support, quiver functionality changed and huge chores #30
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 with Maven and Do Runtime Test | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2.3.3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v1.4.3 | |
with: | |
java-version: 17 | |
- name: Maven Build | |
run: mvn clean package --file pom.xml | |
- name: Upload the artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: artifact-${{ github.event.number }} | |
path: 'target/FNAmplifications*.jar' | |
runtime-test: | |
name: Plugin Runtime Test | |
needs: [build] | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
include: | |
- mcVersion: '1.17.1' | |
javaVersion: '17' | |
- mcVersion: '1.18.2' | |
javaVersion: '18' | |
- mcVersion: '1.19.4' | |
javaVersion: '19' | |
- mcVersion: '1.20.1' | |
javaVersion: '20' | |
- mcVersion: '1.20.6' | |
javaVersion: '21' | |
- mcVersion: '1.21.1' | |
javaVersion: '22' | |
steps: | |
- uses: FN-FAL113/minecraft-plugin-runtime-test@v1.1.2 | |
with: | |
server-version: ${{ matrix.mcVersion }} | |
java-version: ${{ matrix.javaVersion }} | |
artifact-name: artifact-${{ github.event.number }} |