-
Notifications
You must be signed in to change notification settings - Fork 8
52 lines (45 loc) · 1.57 KB
/
spring-sample-web-apps-ci.yml
File metadata and controls
52 lines (45 loc) · 1.57 KB
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
46
47
48
49
50
51
52
name: Spring Sample Web Apps CI
on:
push:
paths:
- 'spring/fluentforms-sample-web-jersey-app/**'
- 'spring/fluentforms-sample-webmvc-app/**'
- '.github/workflows/spring-sample-web-apps-ci.yml'
workflow_dispatch:
jobs:
build:
name: Java ${{ matrix.java }} build
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: true
matrix:
java: [ 25 ]
experimental: [false]
# include:
# - java: 25
# experimental: true
steps:
- uses: actions/checkout@v6
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v5
with:
distribution: 'oracle'
java-version: ${{ matrix.java }}
cache: 'maven'
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file
- name: Build Sample Jersey Web App with Maven
run: mvn -B install -s $GITHUB_WORKSPACE/settings.xml --file spring/fluentforms-sample-web-jersey-app
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Build Sample Web MVC App with Maven
run: mvn -B install -s $GITHUB_WORKSPACE/settings.xml --file spring/fluentforms-sample-webmvc-app
env:
GITHUB_TOKEN: ${{ github.token }}
#
#
# - name: Publish Sample Web App to GitHub Packages Apache Maven
# run: mvn -B deploy -s $GITHUB_WORKSPACE/settings.xml --file spring/fluentforms-sample-web-app
# env:
# GITHUB_TOKEN: ${{ github.token }}