Skip to content

Commit 0e309e3

Browse files
Exclude target directory from archetype test projects (#10722)
1 parent cc4c763 commit 0e309e3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/validate.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@ jobs:
285285
artifact-name: archetypes-${{ matrix.group }}-${{ matrix.packaging }}-projects
286286
artifact-path: |
287287
archetypes/**/target/tests/**
288+
!archetypes/**/target/tests/*/target/**
288289
run: |
289290
mvn ${MVN_ARGS} \
290291
-f archetypes/archetypes/pom.xml \
@@ -308,6 +309,7 @@ jobs:
308309
artifact-name: archetypes-legacy-projects
309310
artifact-path: |
310311
archetypes/**/target/tests/**
312+
!archetypes/**/target/tests/*/target/**
311313
run: |
312314
mvn ${MVN_ARGS} \
313315
-f archetypes/pom.xml \

0 commit comments

Comments
 (0)