From 7878df2d8394b34c7d177b991426e838a0939c7b Mon Sep 17 00:00:00 2001 From: Booze <61169560+ThatBooze@users.noreply.github.com> Date: Tue, 31 Mar 2026 12:44:41 -0400 Subject: [PATCH 1/4] Refactor Workflow mom i'm scared --- .github/workflows/build.yml | 28 +++++++++++----------------- 1 file changed, 11 insertions(+), 17 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a25f70b..21a741f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,30 +1,24 @@ -# Automatically build the project and run any configured tests for every push -# and submitted pull request. This can help catch issues that only occur on -# certain platforms or Java versions, and provides a first line of defence -# against bad commits. - -name: build -on: [pull_request, push] +name: Build +on: [push, pull_request] jobs: build: - runs-on: ubuntu-24.04 + runs-on: ubuntu-24.04-arm steps: - - name: checkout repository + - name: Checkout Repository uses: actions/checkout@v6 - - name: setup jdk - uses: actions/setup-java@v5 + + - name: Setup GraalVM + uses: graalvm/setup-graalvm@v1 with: java-version: '21' distribution: 'graalvm' cache: 'gradle' - - name: Setup Gradle - uses: gradle/actions/setup-gradle@v5 - with: - cache-read-only: false - - name: build + + - name: Build with Gradle run: ./gradlew build - - name: capture build artifacts + + - name: Capture Build Artifacts uses: actions/upload-artifact@v6 with: name: Artifacts From 7de97323e5da84fce321d7c853b27452aa2ebf91 Mon Sep 17 00:00:00 2001 From: toasttextures Date: Wed, 1 Apr 2026 22:34:30 -0400 Subject: [PATCH 2/4] Your turn (I just wanna merge into one commit :sob:) --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 21a741f..9b9ed2e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,3 +23,4 @@ jobs: with: name: Artifacts path: build/libs/ + archive: false \ No newline at end of file From 6d60f4b10a663a1feb7b6090405ba822e4d9f7f8 Mon Sep 17 00:00:00 2001 From: toasttextures Date: Wed, 1 Apr 2026 22:37:27 -0400 Subject: [PATCH 3/4] Wait I didn't read the docs - I saw the fabric api repo do this ok --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9b9ed2e..af95eea 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,7 +19,7 @@ jobs: run: ./gradlew build - name: Capture Build Artifacts - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 with: name: Artifacts path: build/libs/ From a60bfa3cf99c4f97e218e9aad2d4838a9cb5786e Mon Sep 17 00:00:00 2001 From: toasttextures Date: Wed, 1 Apr 2026 22:40:38 -0400 Subject: [PATCH 4/4] Undo nvm --- .github/workflows/build.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index af95eea..8014f72 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,5 +22,4 @@ jobs: uses: actions/upload-artifact@v7 with: name: Artifacts - path: build/libs/ - archive: false \ No newline at end of file + path: build/libs/ \ No newline at end of file