File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
.github/actions/setup_profile Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 19
19
with :
20
20
role-to-assume : ${{ inputs.role-to-assume }}
21
21
aws-region : ${{ inputs.aws-region }}
22
- output-credentials : true # places the credentials in the GH context object rather than setting env vars
23
- # the AWS credentials action does not have an option to configure a profile, so this manually configures one
22
+ # Credentials with special characters are not handled correctly on Windows
23
+ # when put into profile files. This forces action to retry until credentials without special characters
24
+ # are retrieved
25
+ # See: https://github.com/aws-actions/configure-aws-credentials/issues/599
26
+ # and https://github.com/aws-actions/configure-aws-credentials/issues/528
27
+ special-characters-workaround : ${{ contains(runner.os, 'Windows') }}
28
+ # places the credentials in the GH context object rather than setting env vars
29
+ # the AWS credentials action does not have an option to configure a profile, so this manually configures one
30
+ output-credentials : true
24
31
- shell : bash
25
32
run : |
26
33
aws configure set aws_access_key_id ${{ steps.credentials.outputs.aws-access-key-id }} --profile ${{ inputs.profile-name }}
You can’t perform that action at this time.
0 commit comments