Skip to content

Merge pull request #50 from CarsCupcake/Bugfix/ExternalIp #260

Merge pull request #50 from CarsCupcake/Bugfix/ExternalIp

Merge pull request #50 from CarsCupcake/Bugfix/ExternalIp #260

Workflow file for this run

# This workflow will build a Java project with Maven, 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-maven
# 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.
name: Java CI with Gradle
permissions:
contents: write
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
submodules: 'true'
- name: Set up JDK 25
uses: actions/setup-java@v5
with:
java-version: '25'
distribution: 'temurin'
cache: gradle
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- uses: gradle/actions/wrapper-validation@v4
- name: Build with Gradle
run: gradle build
# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
- name: Generate and submit dependency graph
uses: gradle/actions/dependency-submission@v4
continue-on-error: true
- name: Set outputs
id: vars
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Check outputs
run: echo ${{ steps.vars.outputs.sha_short }}