From 1bf6b5e95b195bf5cd0182cfe7e94fb64ff337f6 Mon Sep 17 00:00:00 2001 From: Chris Cundill Date: Thu, 5 Sep 2024 17:38:30 +0100 Subject: [PATCH] Archiving tweak for smoke test --- .github/workflows/deploy-smoke-test.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy-smoke-test.yml b/.github/workflows/deploy-smoke-test.yml index f921b164..fd551f73 100644 --- a/.github/workflows/deploy-smoke-test.yml +++ b/.github/workflows/deploy-smoke-test.yml @@ -53,15 +53,14 @@ jobs: - name: Package directory with correct file permissions working-directory: ./tests/smoke run: | - mkdir package - chmod 0666 ./package + sudo -s sh -c 'mkdir package' + sudo -s sh -c 'chmod 0666 ./package' + sudo -s sh -c 'cp src/* ./package/.' - name: Create smoke test code archive working-directory: ./tests/smoke run: | sudo -s sh -c 'cd package && zip -r ../smoke-test-package.zip ./*' - sudo -s sh -c 'pwd' - sudo -s sh -c 'zip -g smoke-test-package.zip src/*.py' - name: Set up AWS credentials uses: aws-actions/configure-aws-credentials@v1-node16