9
0
mirror of https://github.com/SparklyPower/SparklyPaper.git synced 2025-12-26 18:39:16 +00:00

new fork who dis - First commit 🎉

This commit is contained in:
MrPowerGamerBR
2021-02-24 10:48:15 -03:00
commit 7c7ce877bc
38 changed files with 2714 additions and 0 deletions

40
.github/workflows/sparklypaper.yml vendored Normal file
View File

@@ -0,0 +1,40 @@
# From Airplane: https://github.com/TECHNOVE/Airplane/blob/master/.github/workflows/airplanelite.yml
# Thanks Airplane! :3
name: Build main
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [11, 8]
steps:
- uses: actions/checkout@v2
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-maven-
- name: Patch SparklyPaper
run: |
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
./gradlew applyPatches
./gradlew build
./gradlew paperclip
- uses: actions/upload-artifact@v2
with:
name: SparklyPaper-JDK${{ matrix.java }}
path: launcher-sparklypaper.jar