Skip to content

Commit 555ff38

Browse files
committed
ci(yml): set lib ver from pom
bump java to 21 for exist 7 dynamically set expath dep versions from pom for testing ensure both exist6 and 7 are tested to completion
1 parent c442d22 commit 555ff38

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ jobs:
44
build:
55
name: Exist ${{ matrix.exist-version }} (Java ${{ matrix.java-version }}) build and test
66
strategy:
7-
fail-fast: true
7+
fail-fast: false
88
matrix:
99
exist-version: [latest, 6.2.0]
10-
java-version: ['8', '17']
10+
java-version: ['8', '21']
1111
os: [ubuntu-latest]
1212
exclude:
1313
- exist-version: 6.2.0
14-
java-version: 17
14+
java-version: 21
1515
- exist-version: latest
1616
java-version: 8
1717

@@ -28,13 +28,18 @@ jobs:
2828
run: |
2929
sudo apt-get update
3030
sudo apt-get install -y bats
31+
3132
- name: Maven Build
3233
run: mvn clean package
3334

35+
- name: set min templating version from pom
36+
run: |
37+
echo "TEMPLATING_VERSION=$(mvn help:evaluate -Dexpression=templating.version -q -DforceStdout)" >> $GITHUB_ENV
38+
3439
- name: Add expath dependencies
3540
working-directory: target
3641
run: |
37-
wget http://exist-db.org/exist/apps/public-repo/public/templating-1.2.1.xar -O 001.xar
42+
wget http://exist-db.org/exist/apps/public-repo/public/templating-${{ env.TEMPLATING_VERSION }}.xar -O 001.xar
3843
3944
4045
# Install

0 commit comments

Comments
 (0)