Skip to content

Correct paper version in dependencies of pom.xml of ScalaLoader-Paper. #217

Correct paper version in dependencies of pom.xml of ScalaLoader-Paper.

Correct paper version in dependencies of pom.xml of ScalaLoader-Paper. #217

Workflow file for this run

name: Compile and Test
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
# Use Eclipse Temurin's OpenJDK because Microsoft doesn't seem to want to build non-LTS releases.
distribution: 'temurin'
java-version: '21'
cache: 'maven'
- name: Compile ScalaLoader
run: mvn --batch-mode --update-snapshots verify -DfinalName=ScalaLoader
- name: Create tagged release
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
ScalaLoader/target/ScalaLoader.jar
- name: Deploy Javadoc
uses: MathieuSoysal/[email protected]
if: startsWith(github.ref, 'refs/tags/')
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
javadoc-branch: javadoc
java-distribution: temurin
java-version: 21
custom-command: 'mvn package javadoc:aggregate -pl :ScalaPluginLoader,:ScalaLoader-Common,:ScalaLoader-Bukkit,:ScalaLoader-Paper'
target-folder: javadoc
project: maven