From 167bb77f372ceea8846a004b36b1cdf25f0bc307 Mon Sep 17 00:00:00 2001 From: Sammy Sidhu Date: Thu, 12 Oct 2023 23:30:12 -0700 Subject: [PATCH] [BUG] fix script to upload file 1 at a time (#1492) --- .github/workflows/build-artifact-s3.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-artifact-s3.yml b/.github/workflows/build-artifact-s3.yml index 2fdf166c7c..7bb8756a3b 100644 --- a/.github/workflows/build-artifact-s3.yml +++ b/.github/workflows/build-artifact-s3.yml @@ -67,12 +67,11 @@ jobs: container: messense/manylinux_2_24-cross:aarch64 args: --profile ${{ inputs.rust-profile }} --out dist before-script-linux: export JEMALLOC_SYS_WITH_LG_PAGE=16 - - name: Copy all files as zip for Glue - run: for foo in dist/*.whl; do cp $foo dist/`basename $foo .whl`.zip; done + run: for file in dist/*.whl; do cp $file dist/`basename $file .whl`.zip; done + - name: Upload files to s3 + run: for file in dist/*; do aws s3 cp $file s3://github-actions-artifacts-bucket/daft-build-artifact-s3/${{ github.sha }}/ --no-progress; done - - name: Upload wheels to s3 - run: aws s3 cp dist/* s3://github-actions-artifacts-bucket/daft-build-artifact-s3/${{ github.sha }}/ --no-progress list-wheels: