Skip to content

Commit

Permalink
Trying zip package tweak with specific permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcundill committed Sep 5, 2024
1 parent 7959f28 commit 25d2af5
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/deploy-smoke-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,18 @@ jobs:
sudo apt-get update
sudo apt-get install -y rsync
- name: Package directory with correct file permissions
working-directory: ./tests/smoke
run: |
mkdir package
chmod 0666 ./package
- name: Create smoke test code archive
working-directory: ./tests/smoke
run: |
sudo -s sh -c 'zip -r smoke-test-package.zip ./src/*'
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
Expand Down

0 comments on commit 25d2af5

Please sign in to comment.