Merge pull request #549 from livk-cloud/renovate/minio #323
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: CI with Gradle | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
distribution: [ temurin ] | |
java: [ 21 ,23 ] | |
name: JDK ${{ matrix.java }} | |
steps: | |
- uses: actions/[email protected] | |
- name: Set up JDK ${{ matrix.java }} | |
uses: actions/[email protected] | |
with: | |
java-version: ${{ matrix.java }} | |
distribution: ${{ matrix.distribution }} | |
- name: Setup Gradle | |
uses: gradle/actions/[email protected] | |
- name: Gradle Run Build | |
run: ./gradlew build | |
- name: Upload coverage reports to Codecov | |
if: ${{ matrix.java }} == '21' | |
uses: codecov/[email protected] | |
env: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Upload coverage reports to Codecov | |
if: ${{ matrix.java }} == '21' | |
uses: codecov/[email protected] | |
env: | |
token: ${{ secrets.CODECOV_TOKEN }} |