mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-17 08:27:43 +01:00
[ci-skip] use github actions and fix readme (#696)
This commit is contained in:
@@ -1,19 +1,20 @@
|
||||
name: Build Purpur
|
||||
on: [ pull_request ]
|
||||
name: Build
|
||||
on: [ push, pull_request ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
if: "!contains(github.event.commits[0].message, '[ci-skip]')"
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: gradle/wrapper-validation-action@v1
|
||||
- name: Set up JDK
|
||||
uses: actions/setup-java@v2
|
||||
- uses: actions/setup-java@v2
|
||||
with:
|
||||
distribution: 'adopt'
|
||||
java-version: '16'
|
||||
distribution: temurin
|
||||
java-version: 17
|
||||
cache: gradle
|
||||
- name: Configure Git
|
||||
run: git config --global user.email "no-reply@github.com" && git config --global user.name "Github Actions"
|
||||
- name: Apply patches
|
||||
- name: Apply Patches
|
||||
run: ./gradlew applyPatches --stacktrace
|
||||
- name: Build
|
||||
run: ./gradlew build --stacktrace
|
||||
run: ./gradlew build --stacktrace
|
||||
@@ -4,7 +4,7 @@
|
||||
## Purpur
|
||||
|
||||
[](License)
|
||||
[](https://ci.pl3x.net/job/Purpur)
|
||||
[](https://purpur.pl3x.net/downloads/)
|
||||
[](https://www.codefactor.io/repository/github/pl3xgaming/purpur)
|
||||
[](https://discord.gg/mtAAnkk)
|
||||
|
||||
@@ -23,7 +23,7 @@ Purpur is a drop-in replacement for [Paper](https://github.com/PaperMC/Paper) se
|
||||
Join us on [Discord](https://discord.gg/mtAAnkk)
|
||||
|
||||
## Downloads
|
||||
[](https://ci.pl3x.net/job/Purpur)
|
||||
[](https://purpur.pl3x.net/downloads)
|
||||
|
||||
Downloads can be obtained from the [downloads page](https://purpur.pl3x.net/downloads/), the [downloads API](https://api.pl3x.net), or alternatively from Pl3x's [Jenkins CI Server](https://ci.pl3x.net/job/Purpur/).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user