Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.
/ CheckPluginEnabling Public archive

🟢 Use GitHub Actions to actually run the plugin on the PaperMC server and check if it runs without errors for one minute.

License

Notifications You must be signed in to change notification settings

jaoafa/CheckPluginEnabling

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Repository archived

This repository has been archived due to the termination of the Minecraft Server service of jao Minecraft Server.
In principle, the contents of this repository will not be maintained in the future.

The content in this repository will continue to be released under the license specified in LICENSE. It is possible that the content may become private without prior notice.


CheckPluginEnabling

Use GitHub Actions to actually run the plugin on the PaperMC server and check if it runs without errors for one minute.

Will NOT WORK with the following Minecraft versions: 1.8.8, 1.9.4, 1.10.2, 1.11.2, 1.12, 1.12.1, 1.12.2, 1.13-pre7, 1.13

See paper-versions.json for a list of supported Minecraft versions.

name: PaperServerTest

on: [ push, pull_request ]

jobs:
  main:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v1

      - name: Set up JDK 11
        uses: actions/setup-java@v1
        with:
          java-version: 11

      - name: Cache local Maven repository
        uses: actions/cache@v2
        with:
          path: ~/.m2/repository
          key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
          restore-keys: |
            ${{ runner.os }}-maven-

      - name: Build with Maven
        run: mvn -B package --file pom.xml

      - name: Test
        uses: jaoafa/CheckPluginEnabling@v2.4.0
        with:
          plugin-name: CheckPluginEnabling
          minecraft-version: [ "1.13.1", "1.14", "1.15", "1.16.1", "1.17", "1.18", "1.19", "1.20" ]

About

🟢 Use GitHub Actions to actually run the plugin on the PaperMC server and check if it runs without errors for one minute.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Languages