Skip to content

Commit 90c260c

Browse files
fix wrapper paths
Signed-off-by: Adrian Cole <[email protected]>
1 parent a954d7a commit 90c260c

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/maven.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,12 @@ jobs:
8383
-q \
8484
-Dmaven.test.skip=true
8585
cd e2e
86-
./mvnw test \
86+
../mvnw test \
8787
-B \
8888
-De2e.skip=false \
8989
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
90+
env:
91+
mvnw: ${{ github.workspace }}/mvnw
9092
examples:
9193
runs-on: ubuntu-latest
9294
name: Examples smoke test
@@ -113,23 +115,25 @@ jobs:
113115
- name: Build Cert Manager Contrib
114116
run: |
115117
cd client-java-contrib/cert-manager
116-
./mvnw clean install \
118+
../../mvnw clean install \
117119
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn \
118120
-q \
119121
-Dmaven.test.skip=true
120122
- name: Build Prometheus Contrib
121123
run: |
122124
cd client-java-contrib/prometheus-operator
123-
./mvnw clean install \
125+
../../mvnw clean install \
124126
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn \
125127
-q \
126128
-Dmaven.test.skip=true
127129
- name: Examples
128130
run: |
129131
for d in $(find examples* -maxdepth 1 -type d)
130132
do
131-
./mvnw clean install -Dmaven.test.skip=true -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
133+
${MVNW} clean install -Dmaven.test.skip=true -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
132134
done
135+
env:
136+
MVNW: ${{ github.workspace }}/mvnw
133137
codegen:
134138
runs-on: ubuntu-latest
135139
services:

0 commit comments

Comments
 (0)