Fix codeql #3
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 Plugin | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 22 | |
uses: actions/setup-java@v2 | |
with: | |
distribution: adopt | |
java-version: 22 | |
- name: Set up Maven | |
uses: stCarolas/[email protected] | |
with: | |
maven-version: 3.9.8 | |
- name: Build project | |
run: mvn clean package | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: AdvancedAchievements | |
path: advanced-achievements-plugin/target/AdvancedAchievements.jar | |