3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-11-03 14:50:19 +01:00
Geyser/.github/workflows/pullrequest.yml

52 Zeilen
1.5 KiB
YAML

2019-11-29 00:05:33 +01:00
name: Build Pull Request
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
2020-06-25 01:32:07 +02:00
- uses: actions/checkout@v2
2022-07-12 16:24:53 +02:00
- name: Set up JDK 17
2019-11-29 00:05:33 +01:00
uses: actions/setup-java@v1
with:
distribution: 'temurin'
2022-07-12 16:24:53 +02:00
java-version: 17
cache: 'gradle'
- name: submodules-init
uses: snickerbockers/submodules-init@v4
- name: Build with Gradle
run: ./gradlew build
2020-03-05 09:21:23 +01:00
- name: Archive artifacts (Geyser Standalone)
2020-06-25 01:32:07 +02:00
uses: actions/upload-artifact@v2
2019-11-29 00:05:33 +01:00
if: success()
with:
2020-03-05 09:21:23 +01:00
name: Geyser Standalone
path: bootstrap/standalone/build/libs/Geyser-Standalone.jar
2020-05-26 16:47:34 +02:00
- name: Archive artifacts (Geyser Spigot)
2020-06-25 01:32:07 +02:00
uses: actions/upload-artifact@v2
2020-03-05 09:21:23 +01:00
if: success()
with:
2020-05-26 16:47:34 +02:00
name: Geyser Spigot
path: bootstrap/spigot/build/libs/Geyser-Spigot.jar
2020-03-05 09:21:23 +01:00
- name: Archive artifacts (Geyser BungeeCord)
2020-06-25 01:32:07 +02:00
uses: actions/upload-artifact@v2
2020-03-05 09:21:23 +01:00
if: success()
with:
name: Geyser BungeeCord
path: bootstrap/bungeecord/build/libs/Geyser-BungeeCord.jar
2020-03-05 09:21:23 +01:00
- name: Archive artifacts (Geyser Sponge)
2020-06-25 01:32:07 +02:00
uses: actions/upload-artifact@v2
2020-03-05 09:21:23 +01:00
if: success()
with:
name: Geyser Sponge
path: bootstrap/sponge/build/libs/Geyser-Sponge.jar
2020-03-05 09:21:23 +01:00
- name: Archive artifacts (Geyser Velocity)
2020-06-25 01:32:07 +02:00
uses: actions/upload-artifact@v2
2020-03-05 09:21:23 +01:00
if: success()
with:
name: Geyser Velocity
path: bootstrap/velocity/build/libs/Geyser-Velocity.jar