Skip to content
This repository has been archived by the owner on May 12, 2024. It is now read-only.

Changed implementation to compileOnly #122

Changed implementation to compileOnly

Changed implementation to compileOnly #122

Workflow file for this run

name: standalone
on: [push, pull_request, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 8
uses: actions/[email protected]
with:
java-version: 8
distribution: zulu
- name: Build with Gradle
run: ./gradlew :standalone:build
- name: Upload build JARs
uses: actions/[email protected]
with:
name: build-jars
path: standalone/build/libs/*
test-geyser:
runs-on: ubuntu-latest
needs: build
steps:
- name: Download standalone JAR
uses: actions/download-artifact@v3
with:
name: build-jars
- name: Set up JDK 8
uses: actions/[email protected]
with:
java-version: 8
distribution: zulu
- name: Download Geyser
run: curl -Lo Geyser-Standalone.jar https://download.geysermc.org/v2/projects/geyser/versions/latest/builds/latest/downloads/standalone
- name: Downgrade Geyser
run: java -jar JavaDowngrader-Standalone-1.0.0-SNAPSHOT.jar -i Geyser-Standalone.jar -o Geyser-Standalone-out.jar -v 8
- name: Try Geyser
run: echo geyser stop | java -jar Geyser-Standalone-out.jar
test-paperclip:
runs-on: ubuntu-latest
needs: build
steps:
- name: Download standalone JAR
uses: actions/download-artifact@v3
with:
name: build-jars
- name: Set up JDK 8
uses: actions/[email protected]
with:
java-version: 8
distribution: zulu
- name: Download Paperclip
run: wget https://api.papermc.io/v2/projects/paper/versions/1.19.4/builds/536/downloads/paper-1.19.4-536.jar
- name: Downgrade Paperclip
run: java -jar JavaDowngrader-Standalone-1.0.0-SNAPSHOT.jar -i paper-1.19.4-536.jar -o paperclip-downgraded.jar -v 8
- name: Run Paperclip
run: java -Dpaperclip.patchonly=true -cp paperclip-downgraded.jar io.papermc.paperclip.Paperclip