build paperweight in actions temporarily

This commit is contained in:
Jason Penilla 2024-12-15 14:02:38 -07:00
parent ad197e7572
commit 5ee3479598
No known key found for this signature in database
GPG Key ID: 0E75A301420E48F8
4 changed files with 11 additions and 0 deletions

View File

@ -22,6 +22,8 @@ jobs:
uses: gradle/actions/setup-gradle@v4
- name: Configure Git User Details
run: git config --global user.email "actions@github.com" && git config --global user.name "Github Actions"
- name: build paperweight
run: ./build_paperweight.sh
- name: Apply Patches
run: ./gradlew applyAllPatches --stacktrace
- name: Build

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "paperweight"]
path = paperweight
url = https://github.com/PaperMC/paperweight.git

5
build_paperweight.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
set -eou pipefail
git submodule update --init --recursive
cd paperweight
./gradlew pTML

1
paperweight Submodule

@ -0,0 +1 @@
Subproject commit 2dfd1f14007826bf04a19b972294f18ddb692a34