diff --git a/.github/workflows/build_wazuh_dashboard_with_plugins.yml b/.github/workflows/build_wazuh_dashboard_with_plugins.yml index d80a1a01adea..d05fff1bde54 100644 --- a/.github/workflows/build_wazuh_dashboard_with_plugins.yml +++ b/.github/workflows/build_wazuh_dashboard_with_plugins.yml @@ -103,21 +103,21 @@ jobs: build-base: needs: [validate-inputs] name: Build dashboard - uses: wazuh/wazuh-dashboard/.github/workflows/build_base.yml@v4.10.0-alpha2 + uses: Tostti/wazuh-dashboard/.github/workflows/build_base.yml@v4.10.0-alpha2 with: CHECKOUT_TO: ${{ github.head_ref || github.ref_name }} build-main-plugins: needs: [validate-inputs] name: Build plugins - uses: wazuh/wazuh-dashboard-plugins/.github/workflows/manual-build.yml@v4.10.0-alpha2 + uses: Tostti/wazuh-dashboard-plugins/.github/workflows/manual-build.yml@v4.10.0-alpha2 with: reference: ${{ inputs.reference_wazuh_plugins }} build-security-plugin: needs: [validate-inputs] name: Build security plugin - uses: wazuh/wazuh-security-dashboards-plugin/.github/workflows/manual-build.yml@v4.10.0-alpha2 + uses: Tostti/wazuh-security-dashboards-plugin/.github/workflows/manual-build.yml@v4.10.0-alpha2 with: reference: ${{ inputs.reference_security_plugins }} @@ -207,24 +207,10 @@ jobs: bash ./test-packages.sh \ -p ${{env.PACKAGE_NAME}} - - name: Set up AWS CLI - uses: aws-actions/configure-aws-credentials@v4 + - uses: actions/upload-artifact@v3 + if: success() with: - aws-access-key-id: ${{ secrets.CI_INTERNAL_DEVELOPMENT_BUCKET_USER_ACCESS_KEY }} - aws-secret-access-key: ${{ secrets.CI_INTERNAL_DEVELOPMENT_BUCKET_USER_SECRET_KEY }} - aws-region: ${{ secrets.CI_AWS_REGION }} - - - name: Upload package - run: | - echo "Uploading package" - aws s3 cp ${{ env.CURRENT_DIR }}/dev-tools/build-packages/output/${{ inputs.system }}/${{env.PACKAGE_NAME}} s3://packages-dev.internal.wazuh.com/development/wazuh/4.x/main/packages/ - s3uri="s3://packages-dev.internal.wazuh.com/development/wazuh/4.x/main/packages/${{env.PACKAGE_NAME}}" - echo "S3 URI: ${s3uri}" - - - name: Upload SHA512 - if: ${{ inputs.checksum }} - run: | - echo "Uploading checksum" - aws s3 cp ${{ env.CURRENT_DIR }}/dev-tools/build-packages/output/${{ inputs.system }}/${{env.PACKAGE_NAME}}.sha512 s3://packages-dev.internal.wazuh.com/development/wazuh/4.x/main/packages/ - s3uri="s3://packages-dev.internal.wazuh.com/development/wazuh/4.x/main/packages/${{env.PACKAGE_NAME}}.sha512" - echo "S3 sha512 URI: ${s3uri}" + name: ${{env.PACKAGE_NAME}} + path: ${{ env.CURRENT_DIR }}/dev-tools/build-packages/output/${{ inputs.system }}/${{env.PACKAGE_NAME}} + retention-days: 30 +