Skip to content

Commit

Permalink
chore: Build shaded fat jar in tags.yml workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mkjsix committed Aug 23, 2024
1 parent 115ecb0 commit 6f062a4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ jobs:
pull: true # pull all required images before building
tags: softinstigate/restheart:distroless,softinstigate/restheart:latest-distroless,softinstigate/restheart:8-distroless,softinstigate/restheart:${{steps.vars.outputs.VERSION}}-distroless

- name: Build shaded fat jar
if: ${{ matrix.deploy }}
run: mvn -B package -Pshade -DskipTests

- name: Upload GitHub release
if: ${{ matrix.deploy }}
uses: softprops/action-gh-release@v2
Expand All @@ -122,5 +126,7 @@ jobs:
files: |
core/target/restheart.tar.gz
core/target/restheart.zip
core/target/restheart-shaded.tar.gz
core/target/restheart-shaded.zip
draft: true
prerelease: false

0 comments on commit 6f062a4

Please sign in to comment.