@@ -69,15 +69,13 @@ jobs:
69
69
contents : read
70
70
packages : read
71
71
attestations : write
72
- # Add an outputs section to the job to pass artifact IDs
73
72
outputs :
74
73
docs-log-id : ${{ steps.docs-log-upload.outputs.artifact-id }}
75
74
docs-id : ${{ steps.docs-upload.outputs.artifact-id }}
76
75
nuget-packages-id : ${{ steps.nuget-upload.outputs.artifact-id }}
77
76
symbols-packages-id : ${{ steps.symbols-upload.outputs.artifact-id }}
78
77
assemblies-id : ${{ steps.assemblies-upload.outputs.artifact-id }}
79
78
steps :
80
- # Checkout the local repository
81
79
- uses : actions/checkout@v4
82
80
- uses : actions/setup-dotnet@v4
83
81
with :
@@ -186,7 +184,6 @@ jobs:
186
184
packages : write
187
185
steps :
188
186
- uses : actions/download-artifact@v4
189
- id : download
190
187
with :
191
188
name : Nuget Packages
192
189
- run : |
@@ -199,7 +196,7 @@ jobs:
199
196
build-summary :
200
197
name : Build summary
201
198
runs-on : ubuntu-latest
202
- needs : [build-artifacts, publish-internal, upload-docs, run-tests ]
199
+ needs : [run-tests, build-artifacts, publish-internal, upload-docs]
203
200
if : always()
204
201
steps :
205
202
- name : Generate build summary
@@ -210,7 +207,7 @@ jobs:
210
207
UPLOAD_DOCS_RESULT : ${{ needs.upload-docs.result }}
211
208
PUBLISH_INTERNAL_RESULT : ${{ needs.publish-internal.result }}
212
209
DOCS_IMAGE_TAG : ${{ needs.upload-docs.outputs.image-tag }}
213
- DOCS_IMAGE_HASH : ${{ needs.upload-docs.outputs.image-hash}}
210
+ DOCS_IMAGE_HASH : ${{ needs.upload-docs.outputs.image-hash }}
214
211
215
212
# Pass artifact IDs from the build-artifacts job outputs
216
213
DOCS_LOG_ID : ${{ needs.build-artifacts.outputs.docs-log-id }}
@@ -248,9 +245,10 @@ jobs:
248
245
# Conditionally add the Docker image tag to the summary
249
246
if [ "${{ env.UPLOAD_DOCS_RESULT }}" == "success" ]; then
250
247
echo "### Documentation Docker Image" >> $GITHUB_STEP_SUMMARY
251
- echo "A new documentation Docker image was pushed with the tag:" >> $GITHUB_STEP_SUMMARY
252
- echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
253
- echo "${{ env.DOCS_IMAGE_TAG }}" >> $GITHUB_STEP_SUMMARY
254
- echo "${{ env.DOCS_IMAGE_HASH }}" >> $GITHUB_STEP_SUMMARY
255
- echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
248
+ echo "A new documentation Docker image was pushed." >> $GITHUB_STEP_SUMMARY
249
+ echo "" >> $GITHUB_STEP_SUMMARY
250
+ echo "| Attribute | Value |" >> $GITHUB_STEP_SUMMARY
251
+ echo "| --- | --- |" >> $GITHUB_STEP_SUMMARY
252
+ echo "| **Image Tag** | \`${{ env.DOCS_IMAGE_TAG }}\` |" >> $GITHUB_STEP_SUMMARY
253
+ echo "| **Image Hash** | \`${{ env.DOCS_IMAGE_HASH }}\` |" >> $GITHUB_STEP_SUMMARY
256
254
fi
0 commit comments