Skip to content

update to use JGit 6.10.0 version #12

update to use JGit 6.10.0 version

update to use JGit 6.10.0 version #12

Workflow file for this run

name: Gradle native image build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
name: Build on ${{ matrix.os }} with Java ${{ matrix.java-version }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
java-version: [17, 21]
graalvm-distribution: ['graalvm-community']
fail-fast: false
steps:
- name: Git checkout
uses: actions/checkout@v3
- name: Verify Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Cache Gradle packages
uses: actions/cache@v3
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle-
- name: Set up GraalVM ${{ matrix.graalvm-distribution }} for Java ${{ matrix.java-version }}
uses: graalvm/setup-graalvm@v1
with:
java-version: ${{ matrix.java-version }}
distribution: ${{ matrix.graalvm-distribution }}
- name: Report Java version
run: |
java -version
javac -version
- name: Build with Gradle Wrapper (Linux)
run: ./gradlew --no-daemon --info nativeCompile
if: runner.os != 'Windows'
- name: Build with Gradle Wrapper (Windows)
run: .\gradlew.bat --no-daemon --info nativeCompile
if: runner.os == 'Windows'