-
Notifications
You must be signed in to change notification settings - Fork 30
25 lines (25 loc) · 856 Bytes
/
build.yml
File metadata and controls
25 lines (25 loc) · 856 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: Generate Jars
on: [ push, pull_request ]
jobs:
paperclip:
runs-on: ubuntu-latest
steps:
- name: Checkout Git Repository
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: '21'
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 createMojmapPaperclipJar --stacktrace
- name: Upload Paperclip jar
uses: actions/upload-artifact@v4
with:
name: shreddedpaper.jar
path: build/libs/shreddedpaper-paperclip-*-mojmap.jar