Files
KaiijuMC/.github/workflows/build.yml
Sofiane H. Djerbi 31fdec1248 Initial Commit
2023-02-10 23:03:42 +02:00

26 lines
844 B
YAML

name: Generate Jars
on: [ push, pull_request ]
jobs:
paperclip:
runs-on: ubuntu-latest
steps:
- name: Checkout Git Repository
uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v2.5.0
with:
java-version: '17'
cache: 'gradle'
distribution: 'temurin'
- name: Configure Git User Details
run: git config --global user.email "actions@github.com" && git config --global user.name "Github Actions"
- name: Apply Patches
run: ./gradlew applyPatches --stacktrace
- name: Build Paperclip jar
run: ./gradlew createReobfPaperclipJar --stacktrace
- name: Upload Paperclip jar
uses: actions/upload-artifact@v2
with:
name: kaiiju.jar
path: build/libs/kaiiju-paperclip-*-reobf.jar