Prevent ProtocolLib from bricking the plugin #22
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 And Deploy | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Build with Maven | |
run: mvn -B package --file pom.xml | |
- name: WorldGuardExtraFlags Jar | |
uses: actions/upload-artifact@v2 | |
with: | |
name: WorldGuardExtraFlags Jar | |
path: "${{ github.workspace }}/Spigot/target/WorldGuardExtraFlags.jar" |