Skip to content

Commit aeccd98

Browse files
authored
Merge pull request #49378 from gsmet/fix-develocity-build-scans
Small adjustments to develocity-publish-build-scans.yml
2 parents be41f07 + 1558c2b commit aeccd98

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/develocity-publish-build-scans.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,17 @@ jobs:
3030
with:
3131
develocity-url: 'https://ge.quarkus.io'
3232
develocity-access-key: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
33+
- name: Upload JSON file
34+
uses: actions/upload-artifact@v4
35+
with:
36+
name: build-metadata.json
37+
path: ${{ steps.setup.outputs.build-metadata-file-path }}
3338
- name: Output JSON file
3439
run: |
3540
if [ -f "${{ steps.setup.outputs.build-metadata-file-path }}" ]; then
36-
echo "```json" >> $GITHUB_STEP_SUMMARY
37-
jq '.' ${{ steps.setup.outputs.build-metadata-file-path }} >> $GITHUB_STEP_SUMMARY
38-
echo "\n```" >> $GITHUB_STEP_SUMMARY;
41+
echo '```json' >> $GITHUB_STEP_SUMMARY
42+
jq '.' "${{ steps.setup.outputs.build-metadata-file-path }}" >> $GITHUB_STEP_SUMMARY
43+
echo -e "\n\`\`\`" >> $GITHUB_STEP_SUMMARY;
3944
fi
4045
- name: Inject build scans in reports
4146
uses: quarkusio/action-helpers@main

0 commit comments

Comments
 (0)