Skip to content

fix: shadowJar jar name collision #180

fix: shadowJar jar name collision

fix: shadowJar jar name collision #180

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
- name: Validate gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Build
run: ./gradlew build
- name: Locate artifacts
run: |
echo "ARTIFACT=$(find ./build/libs/ -name *.jar -not -name *-dev.jar -not -name *-sources.jar -not -name *-all.jar)" >> $GITHUB_ENV
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
path: |
${{ env.ARTIFACT }}