Skip to content

Fix maven publishing of CLI shadow jar #329

Fix maven publishing of CLI shadow jar

Fix maven publishing of CLI shadow jar #329

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
types: [ opened, synchronize, reopened ]
branches: [ main ]
jobs:
build-test:
runs-on: macos-12
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v4
with:
java-version: '21'
distribution: temurin
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Select Xcode
run: sudo xcode-select -s /Applications/Xcode_14.1.app/Contents/Developer
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Build & Test
run: ./gradlew check sonar
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- name: Report Tests
uses: dorny/test-reporter@v1
if: success() || failure()
with:
name: Tests Results
path: "**/build/test-results/*/*.xml"
reporter: java-junit