Skip to content

Commit 406df30

Browse files
committedFeb 9, 2023
Try removing access key from env
1 parent 482e8ac commit 406df30

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed
 

‎.github/actions/run-interop-ping-test/action.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,16 @@ runs:
2929
using: "composite"
3030
steps:
3131
- run: |
32-
echo "S3_AWS_ACCESS_KEY_ID=${{ inputs.s3-access-key-id }}" >> $GITHUB_ENV
33-
echo "S3_AWS_SECRET_ACCESS_KEY=${{ inputs.s3-secret-access-key }}" >> $GITHUB_ENV
3432
echo "AWS_BUCKET=${{ inputs.s3-cache-bucket }}" >> $GITHUB_ENV
3533
echo "AWS_REGION=${{ inputs.aws-region }}" >> $GITHUB_ENV
3634
shell: bash
3735
3836
- name: Configure AWS credentials for S3 build cache
39-
if: ${{ inputs.s3-access-key-id }} != "" && ${{ inputs.s3-secret-key }} != ""
37+
if: ${{ inputs.s3-access-key-id }} != "" && ${{ inputs.s3-secret-access-key }} != ""
4038
uses: aws-actions/configure-aws-credentials@v1
4139
with:
42-
aws-access-key-id: ${{ env.S3_AWS_ACCESS_KEY_ID }}
43-
aws-secret-access-key: ${{ env.S3_AWS_SECRET_ACCESS_KEY }}
40+
aws-access-key-id: ${{ inputs.s3-access-key-id }}
41+
aws-secret-access-key: ${{ inputs.s3-secret-access-key}}
4442
aws-region: ${{ env.AWS_REGION }}
4543

4644
# This depends on where this file is within this repository. This walks up

0 commit comments

Comments
 (0)
Please sign in to comment.