Skip to content

Commit bc90326

Browse files
committed
place target files in the right place
1 parent 6e5ba94 commit bc90326

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/verify.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,15 @@ jobs:
8282
name: installed-jars
8383
path: /home/runner/.m2/repository/com/avaloq/tools/ddk/
8484
retention-days: 1
85+
- name: Upload compiled target directories
86+
uses: actions/upload-artifact@v4
87+
with:
88+
name: target-dirs
89+
path: |
90+
**/target/classes
91+
**/target/test-classes
92+
**/target/*.jar
93+
retention-days: 1
8594

8695
# Job 4: Maven verify (runs tests)
8796
maven-verify:
@@ -112,6 +121,11 @@ jobs:
112121
with:
113122
name: installed-jars
114123
path: /home/runner/.m2/repository/com/avaloq/tools/ddk/
124+
- name: Download compiled target directories
125+
uses: actions/download-artifact@v4
126+
with:
127+
name: target-dirs
128+
path: .
115129
- name: Run tests with Maven within a virtual X Server Environment
116130
run: xvfb-run mvn -T 1.5C verify -f ./ddk-parent/pom.xml --batch-mode --fail-at-end
117131

@@ -144,6 +158,11 @@ jobs:
144158
with:
145159
name: installed-jars
146160
path: /home/runner/.m2/repository/com/avaloq/tools/ddk/
161+
- name: Download compiled target directories
162+
uses: actions/download-artifact@v4
163+
with:
164+
name: target-dirs
165+
path: .
147166
- name: Enable SpotBugs for changed modules (PR only)
148167
if: github.event_name == 'pull_request'
149168
run: |

0 commit comments

Comments
 (0)