Skip to content

Commit 22da139

Browse files
committed
Add download receipt link to summary
1 parent bfa2ad8 commit 22da139

File tree

5 files changed

+30
-0
lines changed

5 files changed

+30
-0
lines changed

.github/actions/gradle/experiment-1/action.yml

+6
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,13 @@ runs:
108108
cat $RECEIPT_FILE >> $GITHUB_STEP_SUMMARY
109109
shell: bash
110110
- name: Archive receipt
111+
id: upload-artifact
111112
uses: actions/upload-artifact@v4
112113
with:
113114
name: experiment-1-receipt-${{ github.job }}${{ strategy.job-total > 1 && format('-{0}', strategy.job-index) || '' }}
114115
path: gradle-enterprise-gradle-build-validation/.data/01-validate-incremental-building/latest*/exp1-*.receipt
116+
- name: Add artifact link to summary
117+
run: |
118+
echo "-------------" >> $GITHUB_STEP_SUMMARY
119+
echo "Download receipt: ${{ steps.upload-artifact.outputs.artifact-url }}" >> $GITHUB_STEP_SUMMARY
120+
shell: bash

.github/actions/gradle/experiment-2/action.yml

+6
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,13 @@ runs:
116116
cat $RECEIPT_FILE >> $GITHUB_STEP_SUMMARY
117117
shell: bash
118118
- name: Archive receipt
119+
id: upload-artifact
119120
uses: actions/upload-artifact@v4
120121
with:
121122
name: experiment-2-receipt-${{ github.job }}${{ strategy.job-total > 1 && format('-{0}', strategy.job-index) || '' }}
122123
path: gradle-enterprise-gradle-build-validation/.data/02-validate-local-build-caching-same-location/latest*/exp2-*.receipt
124+
- name: Add artifact link to summary
125+
run: |
126+
echo "-------------" >> $GITHUB_STEP_SUMMARY
127+
echo "Download receipt: ${{ steps.upload-artifact.outputs.artifact-url }}" >> $GITHUB_STEP_SUMMARY
128+
shell: bash

.github/actions/gradle/experiment-3/action.yml

+6
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,13 @@ runs:
116116
cat $RECEIPT_FILE >> $GITHUB_STEP_SUMMARY
117117
shell: bash
118118
- name: Archive receipt
119+
id: upload-artifact
119120
uses: actions/upload-artifact@v4
120121
with:
121122
name: experiment-3-receipt-${{ github.job }}${{ strategy.job-total > 1 && format('-{0}', strategy.job-index) || '' }}
122123
path: gradle-enterprise-gradle-build-validation/.data/03-validate-local-build-caching-different-locations/latest*/exp3-*.receipt
124+
- name: Add artifact link to summary
125+
run: |
126+
echo "-------------" >> $GITHUB_STEP_SUMMARY
127+
echo "Download receipt: ${{ steps.upload-artifact.outputs.artifact-url }}" >> $GITHUB_STEP_SUMMARY
128+
shell: bash

.github/actions/maven/experiment-1/action.yml

+6
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,13 @@ runs:
116116
cat $RECEIPT_FILE >> $GITHUB_STEP_SUMMARY
117117
shell: bash
118118
- name: Archive receipt
119+
id: upload-artifact
119120
uses: actions/upload-artifact@v4
120121
with:
121122
name: experiment-1-receipt-${{ github.job }}${{ strategy.job-total > 1 && format('-{0}', strategy.job-index) || '' }}
122123
path: gradle-enterprise-maven-build-validation/.data/01-validate-local-build-caching-same-location/latest*/exp1-*.receipt
124+
- name: Add artifact link to summary
125+
run: |
126+
echo "-------------" >> $GITHUB_STEP_SUMMARY
127+
echo "Download receipt: ${{ steps.upload-artifact.outputs.artifact-url }}" >> $GITHUB_STEP_SUMMARY
128+
shell: bash

.github/actions/maven/experiment-2/action.yml

+6
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,13 @@ runs:
116116
cat $RECEIPT_FILE >> $GITHUB_STEP_SUMMARY
117117
shell: bash
118118
- name: Archive receipt
119+
id: upload-artifact
119120
uses: actions/upload-artifact@v4
120121
with:
121122
name: experiment-2-receipt-${{ github.job }}${{ strategy.job-total > 1 && format('-{0}', strategy.job-index) || '' }}
122123
path: gradle-enterprise-maven-build-validation/.data/02-validate-local-build-caching-different-locations/latest*/exp2-*.receipt
124+
- name: Add artifact link to summary
125+
run: |
126+
echo "-------------" >> $GITHUB_STEP_SUMMARY
127+
echo "Download receipt: ${{ steps.upload-artifact.outputs.artifact-url }}" >> $GITHUB_STEP_SUMMARY
128+
shell: bash

0 commit comments

Comments
 (0)