From c8e60f3714fb9abb93af3147866d8ca99861d769 Mon Sep 17 00:00:00 2001 From: Maxim Reznik Date: Mon, 10 Jun 2024 11:53:39 +0300 Subject: [PATCH] Revert unintended change Also avoid recursive search in `aws s3 cp` to prevent failing on symbolic links in libgpr2 testsuite. Use bash for-loop instead, because AWS doesn't understand wildcards as the first argument. Refs #1271 --- .github/workflows/build-binaries.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-binaries.yml b/.github/workflows/build-binaries.yml index d7690a1ae..9cbb8dc00 100644 --- a/.github/workflows/build-binaries.yml +++ b/.github/workflows/build-binaries.yml @@ -102,7 +102,7 @@ jobs: - name: Get VSS uses: actions/checkout@v3 with: - repository: reznikmm/VSS + repository: AdaCore/VSS path: VSS - name: Try to checkout langkit's branch shell: bash @@ -134,6 +134,9 @@ jobs: AWS_ACCESS_KEY_ID: ${{secrets.GHA_CACHE_ACCESS_KEY_ID}} AWS_SECRET_ACCESS_KEY: ${{secrets.GHA_CACHE_SECRET}} AWS_DEFAULT_REGION: eu-west-1 + shell: bash run: | - aws s3 cp . s3://adacore-gha-tray-eu-west-1/libadalang/ --recursive --exclude "*" --include "*.tar.gz" --sse=AES256 + for file in *.tar.gz ; do + aws s3 cp "$file" s3://adacore-gha-tray-eu-west-1/libadalang/ --sse=AES256 + done aws s3 ls s3://adacore-gha-tray-eu-west-1/libadalang/