Skip to content

ProbeBase class for making probes easier #124

ProbeBase class for making probes easier

ProbeBase class for making probes easier #124

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle
name: Java CI with Gradle
on:
push:
branches: [ "1.12" ]
pull_request:
branches: [ "1.12" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4 # Updated to use Node.js 20
- name: Set up JDK 8
uses: actions/setup-java@v4 # Updated to use Node.js 20
with:
java-version: '8'
distribution: 'temurin'
- name: Cache Gradle dependencies
uses: actions/cache@v4 # Updated to use Node.js 20
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v2 # Updated to use Node.js 20
- name: Build with Gradle
run: ./gradlew build
- name: Upload build artifacts
uses: actions/upload-artifact@v4 # Updated to use Node.js 20
with:
name: Package
path: build/libs
- name: Download build artifact
uses: actions/download-artifact@v4 # Updated to use Node.js 20
with:
name: Package