Update rust.yml
trying cred helper from aws
@@ -16,8 +16,12 @@ jobs:
steps:
- uses: actions/checkout@v2
- - name: Configure AWS Credentials
- run: mkdir ~/.aws && echo "$AWS_CONFIG" > ~/.aws/credentials
+ - name: Configure AWS credentials
+ uses: aws-actions/configure-aws-credentials@v1
+ with:
+ aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
+ aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
+ aws-region: us-east-1
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
