Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-19 22:40:18 +01:00
59 Zeilen
1.7 KiB
YAML
59 Zeilen
1.7 KiB
YAML
name: Build Pull Request
|
|
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up JDK 17
|
|
uses: actions/setup-java@v1
|
|
with:
|
|
distribution: 'temurin'
|
|
java-version: 17
|
|
cache: 'gradle'
|
|
- name: submodules-init
|
|
uses: snickerbockers/submodules-init@v4
|
|
- name: Build with Gradle
|
|
run: ./gradlew build
|
|
|
|
- name: Archive artifacts (Geyser Fabric)
|
|
uses: actions/upload-artifact@v2
|
|
if: success()
|
|
with:
|
|
name: Geyser Fabric
|
|
path: bootstrap/fabric/build/libs/Geyser-Fabric.jar
|
|
- name: Archive artifacts (Geyser Standalone)
|
|
uses: actions/upload-artifact@v2
|
|
if: success()
|
|
with:
|
|
name: Geyser Standalone
|
|
path: bootstrap/standalone/build/libs/Geyser-Standalone.jar
|
|
- name: Archive artifacts (Geyser Spigot)
|
|
uses: actions/upload-artifact@v2
|
|
if: success()
|
|
with:
|
|
name: Geyser Spigot
|
|
path: bootstrap/spigot/build/libs/Geyser-Spigot.jar
|
|
- name: Archive artifacts (Geyser BungeeCord)
|
|
uses: actions/upload-artifact@v2
|
|
if: success()
|
|
with:
|
|
name: Geyser BungeeCord
|
|
path: bootstrap/bungeecord/build/libs/Geyser-BungeeCord.jar
|
|
- name: Archive artifacts (Geyser Sponge)
|
|
uses: actions/upload-artifact@v2
|
|
if: success()
|
|
with:
|
|
name: Geyser Sponge
|
|
path: bootstrap/sponge/build/libs/Geyser-Sponge.jar
|
|
- name: Archive artifacts (Geyser Velocity)
|
|
uses: actions/upload-artifact@v2
|
|
if: success()
|
|
with:
|
|
name: Geyser Velocity
|
|
path: bootstrap/velocity/build/libs/Geyser-Velocity.jar
|