Skip to content

Commit

Permalink
ci: wip
Browse files Browse the repository at this point in the history
  • Loading branch information
berezovskyi authored Oct 10, 2024
1 parent fcacfa4 commit a2323eb
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,22 @@ on:

jobs:
build:

runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
jdk: ['8']
# temurin is Eclipse/AdoptOpenJDK/Adoptium
# zulu has 2030 EOL for JDK 8
# 'liberica' is a preferred Spring SDK
distribution: ['zulu']
experimental: [false]
# include:
# - jdk: '21'
# distribution: zulu
# experimental: false
continue-on-error: ${{ matrix.experimental }}

steps:
- uses: actions/checkout@v4
Expand All @@ -27,6 +41,12 @@ jobs:
java-version: '8'
distribution: 'zulu'
cache: maven
- uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-${{ matrix.jdk }}_${{ matrix.distribution }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-${{ matrix.jdk }}_${{ matrix.distribution }}-maven-
- name: Build with Maven
run: |
cd backend
Expand Down

0 comments on commit a2323eb

Please sign in to comment.