From b160cc33f5f1710579b86d344bae88dfd524857a Mon Sep 17 00:00:00 2001 From: Swilder-M Date: Fri, 4 Aug 2023 15:23:59 +0800 Subject: [PATCH] chore(ci): fix aws s3 upload cli --- .github/workflows/build_packages.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_packages.yaml b/.github/workflows/build_packages.yaml index 218ad1b2f..7f76c3de9 100644 --- a/.github/workflows/build_packages.yaml +++ b/.github/workflows/build_packages.yaml @@ -35,5 +35,6 @@ jobs: tag=$tag \ filename=$var \ github_api_token=$(echo ${{ secrets.GITHUB_TOKEN }}); - aws s3 cp --recursive $var s3://${{ secrets.AWS_S3_BUCKET }}/MQTTX/$tag/$var done + cd .. + aws s3 cp --recursive dist_electron s3://${{ secrets.AWS_S3_BUCKET }}/MQTTX/$tag/