Skip to content

Commit 63b47aa

Browse files
committed
Fix CI: Install parent POM first to resolve ${revision} property
1 parent d30dde8 commit 63b47aa

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

.github/workflows/build-test-codecov.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ jobs:
2222
distribution: "temurin"
2323
cache: maven
2424

25+
- name: Install parent POM
26+
run: mvn -N install -Drevision=0.2.3-SNAPSHOT
27+
2528
- name: Build with Maven and run tests
2629
run: mvn -B clean verify -Drevision=0.2.3-SNAPSHOT
2730

.github/workflows/java11-build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ jobs:
2121
distribution: 'temurin'
2222
cache: maven
2323

24+
- name: Install parent POM
25+
run: mvn -N install -Drevision=0.2.3-SNAPSHOT
26+
2427
- name: Build with Maven
2528
run: mvn -B clean test -Drevision=0.2.3-SNAPSHOT
2629

.github/workflows/java17-build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ jobs:
2121
distribution: 'temurin'
2222
cache: maven
2323

24+
- name: Install parent POM
25+
run: mvn -N install -Drevision=0.2.3-SNAPSHOT
26+
2427
- name: Build with Maven
2528
run: mvn -B clean test -Drevision=0.2.3-SNAPSHOT
2629

.github/workflows/java21-build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ jobs:
2121
distribution: 'temurin'
2222
cache: maven
2323

24+
- name: Install parent POM
25+
run: mvn -N install -Drevision=0.2.3-SNAPSHOT
26+
2427
- name: Build with Maven
2528
run: mvn -B clean test -Drevision=0.2.3-SNAPSHOT
2629

0 commit comments

Comments
 (0)