Skip to content

Commit

Permalink
fix: s3 upload
Browse files Browse the repository at this point in the history
fix: chunk size

fix: test trigger

fix: event trigger

fix: update to sync

fix: update chunk size

fix: update chunk size

fix: update chunk size

fix: increase time

fix: triggers
  • Loading branch information
stepanLav committed Sep 5, 2024
1 parent 779d9b7 commit 540a88c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 540a88c

Please sign in to comment.