Skip to content

Commit

Permalink
Invoke build single packages with upload option
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexRuiz7 committed Mar 26, 2024
1 parent 81f54d2 commit 047a822
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ jobs:
aws s3 cp "$src" "$dest"
- name: Upload checksum to S3
if: ${{ inputs.checksum }}
if: ${{ inputs.upload && inputs.checksum }}
run: |
src="artifacts/dist/${{ steps.package.outputs.name }}.sha512"
dest="s3://packages-dev.internal.wazuh.com/development/wazuh/4.x/main/packages/"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build_single.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
checksum: ${{ inputs.checksum }}
is_stage: ${{ inputs.is_stage }}
distribution: '[ "${{ inputs.system }}" ]'
upload: true
# Architecture is always 'x64', which is the default value in ./build.yml
# It is an input just for convenience and standardisation.
secrets: inherit

0 comments on commit 047a822

Please sign in to comment.