Bump org.slf4j:slf4j-simple from 2.0.16 to 2.0.17 #94
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build | |
| on: | |
| push: | |
| #pull_request: | |
| workflow_dispatch: | |
| inputs: | |
| additionalGradleOptions: | |
| description: 'Additional Gradle options' | |
| required: false | |
| default: '' | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| env: | |
| SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
| PUSH_GRADLE_OPTIONS: '' | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '17' | |
| - name: Restore Sonar Cache | |
| uses: actions/cache@v4 | |
| if: ${{ github.event_name == 'push' && !startsWith(github.ref_name, 'dependabot/') }} | |
| with: | |
| path: /home/runner/.sonar/cache | |
| key: sonar-cache | |
| - name: Set Push Gradle options | |
| if: ${{ github.event_name == 'push' && !startsWith(github.ref_name, 'dependabot/') }} | |
| run: echo "PUSH_GRADLE_OPTIONS=sonar" >> $GITHUB_ENV | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v4 | |
| with: | |
| cache-read-only: false | |
| - name: Build with Gradle | |
| run: './gradlew --no-daemon build ${{ env.PUSH_GRADLE_OPTIONS }} ${{ github.event.inputs.additionalGradleOptions }}' | |
| - name: Upload reports | |
| uses: actions/upload-artifact@v4 | |
| if: ${{ always() }} | |
| with: | |
| name: reports | |
| path: build/reports | |
| - name: Upload libs | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: libs | |
| path: build/libs |