Skip to content

Commit 28a868a

Browse files
committed
Fix yaml for windows
1 parent 8ccb063 commit 28a868a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/maven.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ jobs:
101101
# Move and cloning to C: drive for Windows for more disk space
102102
- name: Clone ci.ant, ci.common, ci.maven repos to C drive
103103
run: |
104-
cp -r D:/a/ci.maven/ci.maven C:/ci.maven
105104
git clone https://github.com/OpenLiberty/ci.common.git C:/ci.common
106105
git clone https://github.com/OpenLiberty/ci.ant.git C:/ci.ant
107106
- name: Set up Maven
@@ -118,9 +117,10 @@ jobs:
118117
run: .\mvnw.cmd -V clean install --batch-mode --no-transfer-progress --errors -DtrimStackTrace=false -DskipTests
119118
# Run tests that require a minimum of Java 17 or later
120119
- name: Run tests that require a minimum of Java 17 or later
120+
working-directory: C:/a/ci.maven/ci.maven
121121
if: ${{ matrix.java == '17' || matrix.java == '21'}}
122122
run: .\mvnw.cmd -V verify -Ponline-its --batch-mode --no-transfer-progress --errors -DtrimStackTrace=false -D"invoker.streamLogsOnFailures"=true -D"invoker.test"="*setup*,*springboot-3-*,*compile-jsp-source-17-*" -Druntime=${{ matrix.RUNTIME }} -DruntimeVersion="${{ matrix.RUNTIME_VERSION }}"
123123
# Run tests
124124
- name: Run tests
125-
working-directory: C:/ci.maven
125+
working-directory: C:/a/ci.maven/ci.maven
126126
run: .\mvnw.cmd -V verify -Ponline-its --batch-mode --no-transfer-progress --errors -DtrimStackTrace=false -D"invoker.streamLogsOnFailures"=true -Druntime=${{ matrix.RUNTIME }} -DruntimeVersion="${{ matrix.RUNTIME_VERSION }}"

0 commit comments

Comments
 (0)