Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-10 18:15:31 +01:00
Update pull request workflow to use Gradle
Dieser Commit ist enthalten in:
Ursprung
95747d5649
Commit
6f0ff0f83d
22
.github/workflows/pullrequest.yml
vendored
22
.github/workflows/pullrequest.yml
vendored
@ -9,47 +9,43 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/cache@v2
|
|
||||||
with:
|
|
||||||
path: ~/.m2/repository
|
|
||||||
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-maven-
|
|
||||||
- name: Set up JDK 16
|
- name: Set up JDK 16
|
||||||
uses: actions/setup-java@v1
|
uses: actions/setup-java@v1
|
||||||
with:
|
with:
|
||||||
|
distribution: 'temurin'
|
||||||
java-version: 16
|
java-version: 16
|
||||||
|
cache: 'gradle'
|
||||||
- name: submodules-init
|
- name: submodules-init
|
||||||
uses: snickerbockers/submodules-init@v4
|
uses: snickerbockers/submodules-init@v4
|
||||||
- name: Build with Maven
|
- name: Build with Gradle
|
||||||
run: mvn -B package -T 2C
|
run: ./gradlew build
|
||||||
- name: Archive artifacts (Geyser Standalone)
|
- name: Archive artifacts (Geyser Standalone)
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
if: success()
|
if: success()
|
||||||
with:
|
with:
|
||||||
name: Geyser Standalone
|
name: Geyser Standalone
|
||||||
path: bootstrap/standalone/target/Geyser.jar
|
path: bootstrap/standalone/build/libs/Geyser.jar
|
||||||
- name: Archive artifacts (Geyser Spigot)
|
- name: Archive artifacts (Geyser Spigot)
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
if: success()
|
if: success()
|
||||||
with:
|
with:
|
||||||
name: Geyser Spigot
|
name: Geyser Spigot
|
||||||
path: bootstrap/spigot/target/Geyser-Spigot.jar
|
path: bootstrap/spigot/build/libs/Geyser-Spigot.jar
|
||||||
- name: Archive artifacts (Geyser BungeeCord)
|
- name: Archive artifacts (Geyser BungeeCord)
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
if: success()
|
if: success()
|
||||||
with:
|
with:
|
||||||
name: Geyser BungeeCord
|
name: Geyser BungeeCord
|
||||||
path: bootstrap/bungeecord/target/Geyser-BungeeCord.jar
|
path: bootstrap/bungeecord/build/libs/Geyser-BungeeCord.jar
|
||||||
- name: Archive artifacts (Geyser Sponge)
|
- name: Archive artifacts (Geyser Sponge)
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
if: success()
|
if: success()
|
||||||
with:
|
with:
|
||||||
name: Geyser Sponge
|
name: Geyser Sponge
|
||||||
path: bootstrap/sponge/target/Geyser-Sponge.jar
|
path: bootstrap/sponge/build/libs/Geyser-Sponge.jar
|
||||||
- name: Archive artifacts (Geyser Velocity)
|
- name: Archive artifacts (Geyser Velocity)
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
if: success()
|
if: success()
|
||||||
with:
|
with:
|
||||||
name: Geyser Velocity
|
name: Geyser Velocity
|
||||||
path: bootstrap/velocity/target/Geyser-Velocity.jar
|
path: bootstrap/velocity/build/libs/Geyser-Velocity.jar
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren