From 53a22f05af4f7c02bc8659f5155b6451c0346f1d Mon Sep 17 00:00:00 2001 From: Austin Vazquez Date: Wed, 26 Jun 2024 14:46:03 -0700 Subject: [PATCH] fix: build rootfs workflow not uploading the artifacts to S3 This change adds --recursive flag to the aws s3 cp command to apply the copy to S3 bucket to all files on the local path which match the artifact pattern. Signed-off-by: Austin Vazquez --- .github/workflows/rootfs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rootfs.yaml b/.github/workflows/rootfs.yaml index 7ac2353..da87a39 100644 --- a/.github/workflows/rootfs.yaml +++ b/.github/workflows/rootfs.yaml @@ -73,4 +73,4 @@ jobs: fi # Upload tarball and shasum to S3 - aws s3 cp . s3://${{ secrets.DEPENDENCY_BUCKET_NAME }}/${{ matrix.platform }}/$ARCHPATH/ --exclude "*" --include "finch-rootfs-production-${{ matrix.arch }}-"$TIMESTAMP".tar.gz*" + aws s3 cp . s3://${{ secrets.DEPENDENCY_BUCKET_NAME }}/${{ matrix.platform }}/$ARCHPATH/ --recursive --exclude "*" --include "finch-rootfs-production-${{ matrix.arch }}-"$TIMESTAMP".tar.gz*"