Switch to mojmap, hopefully fix Paper support on newer versions #13
This file contains hidden or 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
| # Builds and tests the project with Gradle | |
| name: Java CI | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| pull_request: | |
| branches: [ "master" ] | |
| permissions: | |
| contents: read | |
| 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 Gradle | |
| uses: gradle/actions/setup-gradle@v3 | |
| with: | |
| arguments: build | |
| - name: Query Version | |
| run: | | |
| echo "::set-output name=VERSION_NAME::$(${{github.workspace}}/gradlew properties --no-daemon --console=plain -q | grep "^version:" | awk '{printf $2}')" | |
| id: fetch-version | |
| - name: Get Version | |
| run: | | |
| echo "version_name=${{steps.fetch-version.outputs.VERSION_NAME}}" >> $GITHUB_ENV | |
| - name: Upload GitHub Artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: HuskHomesGUI Plugin | |
| path: target/HuskHomesGUI-*.jar |