diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d735f3aa27df5..c01946875f96c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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/" diff --git a/.github/workflows/build_single.yml b/.github/workflows/build_single.yml index becc6348e880b..ec516623f6bb8 100644 --- a/.github/workflows/build_single.yml +++ b/.github/workflows/build_single.yml @@ -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