diff --git a/.github/workflows/build_stage.yaml b/.github/workflows/build_stage.yaml index cfd2f8f8e3..6d6a7ed77f 100644 --- a/.github/workflows/build_stage.yaml +++ b/.github/workflows/build_stage.yaml @@ -119,7 +119,7 @@ jobs: internal-release-distribute: needs: internal-release-build runs-on: ubuntu-latest - timeout-minutes: 30 + timeout-minutes: 60 steps: - name: Checkout uses: actions/checkout@v3 @@ -156,7 +156,7 @@ jobs: artifact_pattern=${artifacts[$artifact_name]} for artifact in $artifact_pattern; do if [ -f "$artifact" ]; then - s3cmd put "$artifact" --acl-public "${{ env.S3_BUCKET }}/pr-${{ github.event.pull_request.number }}/$artifact" + s3cmd sync "$artifact" --acl-public --multipart-chunk-size-mb=150 "${{ env.S3_BUCKET }}/pr-${{ github.event.pull_request.number }}/$artifact" url=$(s3cmd signurl "${{ env.S3_BUCKET }}/pr-${{ github.event.pull_request.number }}/$artifact" $(echo "`date +%s` + 3600 * 24 * ${{ env.STORING_DAYS }}" | bc)) echo "::set-output name=$artifact_name::[$artifact]($url)" fi