Skip to content

Build Non-Spring Boot Projects #1058

Build Non-Spring Boot Projects

Build Non-Spring Boot Projects #1058

Workflow file for this run

name: Build Non-Spring Boot Projects
on:
push:
schedule:
- cron: '0 5 * * SUN'
jobs:
build-maven-projects:
strategy:
fail-fast: false
matrix:
versions: [8, 11, 17]
runs-on: ubuntu-latest
name: Build Java ${{ matrix.versions }} projects
steps:
- name: VCS checkout
uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.versions }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.versions }}
distribution: adopt
cache: maven
- name: Build all projects with Maven
run: |
chmod +x ./buildJdk${{ matrix.versions }}Projects.sh
./buildJdk${{ matrix.versions }}Projects.sh
build-gradle-projects:
runs-on: ubuntu-latest
name: Build Java 8 projects
steps:
- uses: actions/checkout@v4
- name: Set up JDK 8
uses: actions/setup-java@v4
with:
java-version: 8
distribution: adopt
cache: gradle
- name: Build JDK 8 projects
run: ./buildGradleJdk8Projects.sh