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