feat: adds support for Minecraft 1.25.6 #468
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
| name: Build the plugin | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| steps: | |
| - uses: actions/checkout@v4.2.2 | |
| - uses: actions/cache@v4.2.3 | |
| with: | |
| path: ~/.m2/repository | |
| key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
| restore-keys: | | |
| ${{ runner.os }}-maven- | |
| - name: Set up Java | |
| uses: actions/setup-java@v4.7.1 | |
| with: | |
| distribution: "temurin" | |
| java-version: 21 | |
| cache: "maven" | |
| - name: Version information | |
| run: | | |
| java -version | |
| mvn --version | |
| - name: Build with Maven | |
| run: mvn -s conf/settings.xml -D"http.keepAlive=false" -D"maven.wagon.http.pool=false" -D"maven.wagon.httpconnectionManager.ttlSeconds=120" -D"https.protocols=TLSv1.2" -DskipTests=true "-Dmaven.javadoc.skip=true" -B clean package | |
| env: | |
| CI_USER: ${{ secrets.CI_USER }} | |
| CI_PASSWORD: ${{ secrets.CI_PASSWORD }} |