Skip to content

Commit 98e92a8

Browse files
committed
Added publishing .data for maven verification on failure
1 parent 6e32c16 commit 98e92a8

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/maven-build-caching-samples-verification.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ jobs:
5050
goals: ${{ env.GOALS }}
5151
args: ${{ env.ARGS }}
5252
failIfNotFullyCacheable: true
53+
- name: Publish .data for experiment 1
54+
uses: actions/upload-artifact@v5
55+
if: failure()
56+
with:
57+
path: develocity-maven-build-validation/.data/01-validate-local-build-caching-same-location/latest/
58+
name: 01-validate-local-build-caching-same-location-data-dir
5359
- name: Run experiment 2
5460
uses: gradle/develocity-build-validation-scripts/.github/actions/maven/experiment-2@actions-stable
5561
with:
@@ -59,3 +65,9 @@ jobs:
5965
goals: ${{ env.GOALS }}
6066
args: ${{ env.ARGS }}
6167
failIfNotFullyCacheable: true
68+
- name: Publish .data for experiment 2
69+
uses: actions/upload-artifact@v5
70+
if: failure()
71+
with:
72+
path: develocity-maven-build-validation/.data/02-validate-local-build-caching-different-locations/latest/
73+
name: 02-validate-local-build-caching-different-locations-data-dir

0 commit comments

Comments
 (0)