mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-17 16:37:43 +01:00
[ci-skip] use github actions and fix readme (#696)
This commit is contained in:
@@ -1,19 +1,20 @@
|
|||||||
name: Build Purpur
|
name: Build
|
||||||
on: [ pull_request ]
|
on: [ push, pull_request ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: "!contains(github.event.commits[0].message, '[ci-skip]')"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: gradle/wrapper-validation-action@v1
|
- uses: actions/setup-java@v2
|
||||||
- name: Set up JDK
|
|
||||||
uses: actions/setup-java@v2
|
|
||||||
with:
|
with:
|
||||||
distribution: 'adopt'
|
distribution: temurin
|
||||||
java-version: '16'
|
java-version: 17
|
||||||
|
cache: gradle
|
||||||
- name: Configure Git
|
- name: Configure Git
|
||||||
run: git config --global user.email "no-reply@github.com" && git config --global user.name "Github Actions"
|
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
|
run: ./gradlew applyPatches --stacktrace
|
||||||
- name: Build
|
- name: Build
|
||||||
run: ./gradlew build --stacktrace
|
run: ./gradlew build --stacktrace
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
## Purpur
|
## Purpur
|
||||||
|
|
||||||
[](License)
|
[](License)
|
||||||
[](https://ci.pl3x.net/job/Purpur)
|
[](https://purpur.pl3x.net/downloads/)
|
||||||
[](https://www.codefactor.io/repository/github/pl3xgaming/purpur)
|
[](https://www.codefactor.io/repository/github/pl3xgaming/purpur)
|
||||||
[](https://discord.gg/mtAAnkk)
|
[](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)
|
Join us on [Discord](https://discord.gg/mtAAnkk)
|
||||||
|
|
||||||
## Downloads
|
## 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/).
|
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