You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/fluentforms-ci.yml
+13-3Lines changed: 13 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -10,15 +10,25 @@ on:
10
10
11
11
jobs:
12
12
build:
13
+
name: Java ${{ matrix.java }} build
13
14
runs-on: ubuntu-latest
15
+
continue-on-error: ${{ matrix.experimental }}
16
+
strategy:
17
+
fail-fast: true
18
+
matrix:
19
+
java: [ 21 ]
20
+
experimental: [false]
21
+
include:
22
+
- java: 24
23
+
experimental: true
14
24
15
25
steps:
16
26
- uses: actions/checkout@v5
17
-
- name: Set up JDK 21 for Shared Runner
27
+
- name: Set up JDK ${{ matrix.java }}
18
28
uses: actions/setup-java@v5
19
29
with:
20
30
distribution: 'oracle'
21
-
java-version: '21'
31
+
java-version: ${{ matrix.java }}
22
32
cache: 'maven'
23
33
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
24
34
settings-path: ${{ github.workspace }} # location for the settings.xml file
@@ -27,7 +37,7 @@ jobs:
27
37
run: mvn -B package --file fluentforms
28
38
29
39
- name: Publish to GitHub Packages Apache Maven
30
-
if: github.ref == 'refs/heads/master' || github.ref == 'refs/tags/*'# Only run on main branch or tags
40
+
if: (github.ref == 'refs/heads/master' || github.ref == 'refs/tags/*') && ${{ matrix.experimental }} == 'false' # Only run on main branch or tags and non-experimental
0 commit comments