mirror of
https://github.com/GeyserMC/GeyserConnect.git
synced 2025-06-26 14:15:22 +02:00
Create pullrequest.yml
This commit is contained in:
parent
d99fcec9d2
commit
408056bc9a
1 changed files with 29 additions and 0 deletions
29
.github/workflows/pullrequest.yml
vendored
Normal file
29
.github/workflows/pullrequest.yml
vendored
Normal file
|
@ -0,0 +1,29 @@
|
|||
name: Build Pull Request
|
||||
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/cache@v1
|
||||
with:
|
||||
path: ~/.m2/repository
|
||||
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-maven-
|
||||
- name: Set up JDK 1.8
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 1.8
|
||||
- name: Build with Maven
|
||||
run: mvn -B package
|
||||
- name: Archive artifacts
|
||||
uses: actions/upload-artifact@v1
|
||||
if: success()
|
||||
with:
|
||||
name: Build
|
||||
path: bungee/target/geyser-connect-*.jar
|
Loading…
Add table
Reference in a new issue