Skip to content

Commit 340eeec

Browse files
authored
Update upload-build-to-s3.yml
1 parent 2e3ecf7 commit 340eeec

1 file changed

Lines changed: 0 additions & 18 deletions

File tree

.github/workflows/upload-build-to-s3.yml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -55,21 +55,3 @@ jobs:
5555
cat output.txt
5656
exit 1
5757
fi
58-
- name: Copy whl build file to s3
59-
run: |
60-
aws s3 cp ./dist/aws_durable_execution_sdk_python-0.0.1-py3-none-any.whl \
61-
s3://${{ env.BUCKET_NAME }}/
62-
- name: commit whl to Gitfarm
63-
run: |
64-
aws lambda invoke \
65-
--function-name ${{ secrets.SYNC_LAMBDA_ARN }} \
66-
--payload '{"gitFarmRepo":"${{ secrets.GITFARM_LAN_SDK_REPO }}","gitFarmBranch":"${{ secrets.GITFARM_LAN_SDK_BRANCH }}","gitFarmFilepath":"aws_durable_execution_sdk_python-0.0.1-py3-none-any.whl","s3Bucket":"${{ secrets.S3_BUCKET_NAME }}","s3FilePath":"aws_durable_execution_sdk_python-0.0.1-py3-none-any.whl"}' \
67-
--cli-binary-format raw-in-base64-out \
68-
output.txt
69-
- name: Check for error in lambda invoke
70-
id: check_text_whl
71-
run: |
72-
if grep -q "Error" output.txt; then
73-
cat output.txt
74-
exit 1
75-
fi

0 commit comments

Comments
 (0)