aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml18
1 files changed, 15 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 0b2ab06..fd9ec1e 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -15,18 +15,30 @@ jobs:
with:
distribution: temurin
java-version: 17
-
+ - name: Setup PNPM
+ uses: pnpm/action-setup@v4
+ with:
+ package_json_file: 'server/frontend/package.json'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Execute Gradle build
run: ./gradlew build
-
+ - name: Show build directory
+ if: runner.debug == '1'
+ run: |
+ ls -lahR mod/build
- name: Upload built mod JAR
uses: actions/upload-artifact@v4.3.0
with:
name: mod-jar
- path: build/libs/*.jar
+ path: mod/build/libs/*.jar
+ - name: Upload partial JARs
+ if: runner.debug == '1'
+ uses: actions/upload-artifact@v4.3.0
+ with:
+ name: extras
+ path: mod/build/badjars/*.jar
release:
runs-on: ubuntu-latest
needs: gradle