[Gradle Release Plugin] - new version commit: 'v4.10.2-SNAPSHOT'. #131
This file contains 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: | |
branches: | |
- main | |
tags-ignore: | |
- v* | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup GraalVM 21 | |
uses: graalvm/setup-graalvm@v1 | |
with: | |
distribution: graalvm-community | |
java-version: 21 | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v3 | |
- name: Build and test using gradle | |
run: ./gradlew build -Dquarkus.package.jar.enabled=false -Dquarkus.native.enabled=true | |
env: | |
API_KEY: ${{ secrets.TMDB_API_KEY }} | |
- name: Test Report | |
uses: dorny/test-reporter@v1 | |
if: success() || failure() | |
with: | |
name: Tests | |
reporter: java-junit | |
path: '**/TEST-*.xml' | |
- name: Upload SARIF | |
uses: github/codeql-action/upload-sarif@v3 | |
if: success() || failure() | |
with: | |
sarif_file: build/reports/detekt/merge.sarif | |
- name: Archive logs on failure | |
if: ${{ failure() }} | |
uses: actions/upload-artifact@v4 | |
with: | |
name: build-test-reports | |
path: build/reports |