Skip to content

Commit

Permalink
Split user and dev-facing artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
ah-OOG-ah committed Oct 31, 2024
1 parent bbef2ca commit fdf3458
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fdf3458

Please sign in to comment.