Skip to content
This repository has been archived by the owner on May 19, 2024. It is now read-only.

Update actions/checkout action to v4 #80

Update actions/checkout action to v4

Update actions/checkout action to v4 #80

Workflow file for this run

name: Java CI with Gradle
on:
push:
tags-ignore:
- '**'
branches:
- '**'
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
container:
image: ghcr.io/graalvm/native-image:22.3.3
steps:
- name: Install build essentials
run: microdnf install git tar findutils -y
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: gradle/wrapper-validation-action@v1
- uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Build with Gradle
run: ./gradlew build nativeCompile --no-daemon -g ~/.gradle
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: build-artifacts
path: |
build/libs
build/native/nativeCompile