Skip to content

Commit

Permalink
Implement step summary message for checksum upload to s3
Browse files Browse the repository at this point in the history
  • Loading branch information
QU3B1M committed Oct 30, 2024
1 parent 67597d8 commit 2584c4f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -310,14 +310,15 @@ jobs:
dest="s3://packages-dev.internal.wazuh.com/development/wazuh/5.x/main/packages/"
aws s3 cp "$src" "$dest"
s3uri="${dest}${{ steps.package.outputs.name }}"
echo "::notice title=S3 URI::${s3uri}"
echo "### Package S3 URI" >> $GITHUB_STEP_SUMMARY
echo "::notice::S3 URI: ${s3uri}"
echo "**Package S3 URI: ${s3uri}**" >> $GITHUB_STEP_SUMMARY
- name: Upload checksum to S3
- name: Upload checksum to S3sha512
if: ${{ inputs.upload && inputs.checksum }}
run: |
src="artifacts/dist/${{ steps.package.outputs.name }}.sha512"
dest="s3://packages-dev.internal.wazuh.com/development/wazuh/5.x/main/packages/"
aws s3 cp "$src" "$dest"
s3uri="${dest}${{ steps.package.outputs.name }}.sha512"
echo "::notice::S3 sha512 URI: ${s3uri}"
echo "**Package checksum S3 URI: ${s3uri}**" >> $GITHUB_STEP_SUMMARY

0 comments on commit 2584c4f

Please sign in to comment.