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