File tree 5 files changed +20
-45
lines changed
5 files changed +20
-45
lines changed Original file line number Diff line number Diff line change @@ -122,12 +122,6 @@ runs:
122
122
echo "buildScanFirstBuild=$BUILD_SCAN_1" >> $GITHUB_OUTPUT
123
123
echo "buildScanSecondBuild=$BUILD_SCAN_2" >> $GITHUB_OUTPUT
124
124
125
- # Copy receipt to a predictable location
126
- RECEIPT_FILE=".data/01-validate-incremental-building/latest/exp1-*.receipt"
127
- if [ -f ${RECEIPT_FILE} ]; then
128
- cp ${RECEIPT_FILE} ../receipt.txt
129
- fi
130
-
131
125
exit $EXPERIMENT_EXIT_CODE
132
126
shell : bash
133
127
- name : Archive receipt
@@ -136,12 +130,13 @@ runs:
136
130
if : always()
137
131
with :
138
132
name : experiment-1-receipt-${{ github.job }}${{ strategy.job-total > 1 && format('-{0}', strategy.job-index) || '' }}
139
- path : receipt.txt
133
+ path : develocity-gradle-build-validation/.data/01-validate-incremental-building/latest/exp1-*.receipt
140
134
- name : Fill GitHub summary
141
135
if : always()
142
136
run : |
143
- if [ -f "receipt.txt" ]; then
144
- cat receipt.txt >> $GITHUB_STEP_SUMMARY
137
+ RECEIPT_FILE="develocity-gradle-build-validation/.data/01-validate-incremental-building/latest/exp1-*.receipt"
138
+ if [ -f ${RECEIPT_FILE} ]; then
139
+ cat ${RECEIPT_FILE} >> $GITHUB_STEP_SUMMARY
145
140
echo "-------------" >> $GITHUB_STEP_SUMMARY
146
141
echo "Download receipt: ${{ steps.upload-artifact.outputs.artifact-url }}" >> $GITHUB_STEP_SUMMARY
147
142
fi
Original file line number Diff line number Diff line change @@ -130,12 +130,6 @@ runs:
130
130
echo "buildScanFirstBuild=$BUILD_SCAN_1" >> $GITHUB_OUTPUT
131
131
echo "buildScanSecondBuild=$BUILD_SCAN_2" >> $GITHUB_OUTPUT
132
132
133
- # Copy receipt to a predictable location
134
- RECEIPT_FILE=".data/02-validate-local-build-caching-same-location/latest/exp2-*.receipt"
135
- if [ -f ${RECEIPT_FILE} ]; then
136
- cp ${RECEIPT_FILE} ../receipt.txt
137
- fi
138
-
139
133
exit $EXPERIMENT_EXIT_CODE
140
134
shell : bash
141
135
- name : Archive receipt
@@ -144,12 +138,13 @@ runs:
144
138
if : always()
145
139
with :
146
140
name : experiment-2-receipt-${{ github.job }}${{ strategy.job-total > 1 && format('-{0}', strategy.job-index) || '' }}
147
- path : receipt.txt
141
+ path : develocity-gradle-build-validation/.data/02-validate-local-build-caching-same-location/latest/exp2-*.receipt
148
142
- name : Fill GitHub summary
149
143
if : always()
150
144
run : |
151
- if [ -f "receipt.txt" ]; then
152
- cat receipt.txt >> $GITHUB_STEP_SUMMARY
145
+ RECEIPT_FILE="develocity-gradle-build-validation/.data/02-validate-local-build-caching-same-location/latest/exp2-*.receipt"
146
+ if [ -f ${RECEIPT_FILE} ]; then
147
+ cat ${RECEIPT_FILE} >> $GITHUB_STEP_SUMMARY
153
148
echo "-------------" >> $GITHUB_STEP_SUMMARY
154
149
echo "Download receipt: ${{ steps.upload-artifact.outputs.artifact-url }}" >> $GITHUB_STEP_SUMMARY
155
150
fi
Original file line number Diff line number Diff line change @@ -129,12 +129,6 @@ runs:
129
129
130
130
echo "buildScanFirstBuild=$BUILD_SCAN_1" >> $GITHUB_OUTPUT
131
131
echo "buildScanSecondBuild=$BUILD_SCAN_2" >> $GITHUB_OUTPUT
132
-
133
- # Copy receipt to a predictable location
134
- RECEIPT_FILE=".data/03-validate-local-build-caching-different-locations/latest/exp3-*.receipt"
135
- if [ -f ${RECEIPT_FILE} ]; then
136
- cp ${RECEIPT_FILE} ../receipt.txt
137
- fi
138
132
139
133
exit $EXPERIMENT_EXIT_CODE
140
134
shell : bash
@@ -144,12 +138,13 @@ runs:
144
138
if : always()
145
139
with :
146
140
name : experiment-3-receipt-${{ github.job }}${{ strategy.job-total > 1 && format('-{0}', strategy.job-index) || '' }}
147
- path : receipt.txt
141
+ path : develocity-gradle-build-validation/.data/03-validate-local-build-caching-different-locations/latest/exp3-*.receipt
148
142
- name : Fill GitHub summary
149
143
if : always()
150
144
run : |
151
- if [ -f "receipt.txt" ]; then
152
- cat receipt.txt >> $GITHUB_STEP_SUMMARY
145
+ RECEIPT_FILE="develocity-gradle-build-validation/.data/03-validate-local-build-caching-different-locations/latest/exp3-*.receipt"
146
+ if [ -f ${RECEIPT_FILE} ]; then
147
+ cat ${RECEIPT_FILE} >> $GITHUB_STEP_SUMMARY
153
148
echo "-------------" >> $GITHUB_STEP_SUMMARY
154
149
echo "Download receipt: ${{ steps.upload-artifact.outputs.artifact-url }}" >> $GITHUB_STEP_SUMMARY
155
150
fi
Original file line number Diff line number Diff line change @@ -130,12 +130,6 @@ runs:
130
130
echo "buildScanFirstBuild=$BUILD_SCAN_1" >> $GITHUB_OUTPUT
131
131
echo "buildScanSecondBuild=$BUILD_SCAN_2" >> $GITHUB_OUTPUT
132
132
133
- # Copy receipt to a predictable location
134
- RECEIPT_FILE=".data/01-validate-local-build-caching-same-location/latest/exp1-*.receipt"
135
- if [ -f ${RECEIPT_FILE} ]; then
136
- cp ${RECEIPT_FILE} ../receipt.txt
137
- fi
138
-
139
133
exit $EXPERIMENT_EXIT_CODE
140
134
shell : bash
141
135
- name : Archive receipt
@@ -144,12 +138,13 @@ runs:
144
138
if : always()
145
139
with :
146
140
name : experiment-1-receipt-${{ github.job }}${{ strategy.job-total > 1 && format('-{0}', strategy.job-index) || '' }}
147
- path : receipt.txt
141
+ path : develocity-maven-build-validation/.data/01-validate-local-build-caching-same-location/latest/exp1-*.receipt
148
142
- name : Fill GitHub summary
149
143
if : always()
150
144
run : |
151
- if [ -f "receipt.txt" ]; then
152
- cat receipt.txt >> $GITHUB_STEP_SUMMARY
145
+ RECEIPT_FILE="develocity-maven-build-validation/.data/01-validate-local-build-caching-same-location/latest/exp1-*.receipt"
146
+ if [ -f ${RECEIPT_FILE} ]; then
147
+ cat ${RECEIPT_FILE} >> $GITHUB_STEP_SUMMARY
153
148
echo "-------------" >> $GITHUB_STEP_SUMMARY
154
149
echo "Download receipt: ${{ steps.upload-artifact.outputs.artifact-url }}" >> $GITHUB_STEP_SUMMARY
155
150
fi
Original file line number Diff line number Diff line change @@ -130,12 +130,6 @@ runs:
130
130
echo "buildScanFirstBuild=$BUILD_SCAN_1" >> $GITHUB_OUTPUT
131
131
echo "buildScanSecondBuild=$BUILD_SCAN_2" >> $GITHUB_OUTPUT
132
132
133
- # Copy receipt to a predictable location
134
- RECEIPT_FILE=".data/02-validate-local-build-caching-different-locations/latest/exp2-*.receipt"
135
- if [ -f ${RECEIPT_FILE} ]; then
136
- cp ${RECEIPT_FILE} ../receipt.txt
137
- fi
138
-
139
133
exit $EXPERIMENT_EXIT_CODE
140
134
shell : bash
141
135
- name : Archive receipt
@@ -144,12 +138,13 @@ runs:
144
138
if : always()
145
139
with :
146
140
name : experiment-2-receipt-${{ github.job }}${{ strategy.job-total > 1 && format('-{0}', strategy.job-index) || '' }}
147
- path : receipt.txt
141
+ path : develocity-maven-build-validation/.data/02-validate-local-build-caching-different-locations/latest/exp2-*.receipt
148
142
- name : Fill GitHub summary
149
143
if : always()
150
144
run : |
151
- if [ -f "receipt.txt" ]; then
152
- cat receipt.txt >> $GITHUB_STEP_SUMMARY
145
+ RECEIPT_FILE="develocity-maven-build-validation/.data/02-validate-local-build-caching-different-locations/latest/exp2-*.receipt"
146
+ if [ -f ${RECEIPT_FILE} ]; then
147
+ cat ${RECEIPT_FILE} >> $GITHUB_STEP_SUMMARY
153
148
echo "-------------" >> $GITHUB_STEP_SUMMARY
154
149
echo "Download receipt: ${{ steps.upload-artifact.outputs.artifact-url }}" >> $GITHUB_STEP_SUMMARY
155
150
fi
You can’t perform that action at this time.
0 commit comments