Skip to content

Commit eefc488

Browse files
authored
Update upload-build-to-s3.yml
1 parent 0635327 commit eefc488

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,12 @@ jobs:
3131
python -m pip install --upgrade hatch
3232
- name: Build distribution
3333
run: hatch build
34-
# Upload a file to AWS s3
34+
- name: configure aws credentials
35+
uses: aws-actions/configure-aws-credentials@v4
36+
with:
37+
role-to-assume: "${{ secrets.ACTIONS_SYNC_ROLE_NAME }}"
38+
role-session-name: gh-python
39+
aws-region: ${{ env.AWS_REGION }}
3540
- name: Copy tar gz build file to s3
3641
run: |
3742
aws s3 cp ./dist/aws_durable_execution_sdk_python-0.0.1.tar.gz \

0 commit comments

Comments
 (0)