-
Notifications
You must be signed in to change notification settings - Fork 148
45 lines (38 loc) · 1.3 KB
/
integration.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Compatibility Build
on:
workflow_dispatch:
schedule:
- cron: '5 6 * * *'
jobs:
integration:
strategy:
matrix:
boot:
- '3.1.12'
- '3.2.12'
- '3.3.7'
- '3.3.8-SNAPSHOT'
- '3.4.1-SNAPSHOT'
jmolecules:
- '2023.2.1'
- '2025.0.0-RC2'
name: Build against Boot ${{ matrix.boot }} / jMolecules ${{ matrix.jmolecules }}
runs-on: ubuntu-latest
steps:
- name: Check out sources
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
cache: 'maven'
- name: Build with Maven
env:
COMMERCIAL_USERNAME: ${{ secrets.COMMERCIAL_ARTIFACTORY_RO_USERNAME }}
COMMERCIAL_PASSWORD: ${{ secrets.COMMERCIAL_ARTIFACTORY_RO_PASSWORD }}
DEVELOCITY_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
run: |
cd spring-modulith-examples
../mvnw -B versions:update-parent -s ../settings.xml -Pspring-enterprise,with-preview-repos -DskipResolution=true -DparentVersion=${{ matrix.boot }}
../mvnw -B clean verify -s ../settings.xml -Pspring-enterprise,with-preview-repos -Dspring-boot.version=${{ matrix.boot }} -Djmolecules.version=${{ matrix.jmolecules }}