From fdf3458d9b2d2b93fe1a0fdd8170095c1951a4a5 Mon Sep 17 00:00:00 2001 From: ah-OOG-ah <75745146+ah-OOG-ah@users.noreply.github.com> Date: Thu, 31 Oct 2024 01:58:19 -0400 Subject: [PATCH] Split user and dev-facing artifacts --- .github/workflows/gradle.yml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 55881964..298d92d5 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -40,11 +40,27 @@ jobs: - name: Compile the mod run: ./gradlew --build-cache --info --stacktrace assemble - - name: Attach compilation artifacts + - name: Attach user artifacts uses: actions/upload-artifact@v4 with: name: ${{ github.repository_id }}-build-libs - path: build/libs/ + path: | + build/libs/ + !build/libs/*-api.jar + !build/libs/*-dev.jar + !build/libs/*-dev-preshadow.jar + !build/libs/*-sources.jar + retention-days: 90 + + - name: Attach dev artifacts + uses: actions/upload-artifact@v4 + with: + name: ${{ github.repository_id }}-build-dev-libs + path: | + build/libs/*-api.jar + build/libs/*-dev.jar + build/libs/*-dev-preshadow.jar + build/libs/*-sources.jar retention-days: 90 - name: Attach gradle reports