Skip to content

Commit

Permalink
Try removing access key from env
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoPolo committed Feb 9, 2023
1 parent 482e8ac commit 406df30
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/actions/run-interop-ping-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,16 @@ runs:
using: "composite"
steps:
- run: |
echo "S3_AWS_ACCESS_KEY_ID=${{ inputs.s3-access-key-id }}" >> $GITHUB_ENV
echo "S3_AWS_SECRET_ACCESS_KEY=${{ inputs.s3-secret-access-key }}" >> $GITHUB_ENV
echo "AWS_BUCKET=${{ inputs.s3-cache-bucket }}" >> $GITHUB_ENV
echo "AWS_REGION=${{ inputs.aws-region }}" >> $GITHUB_ENV
shell: bash
- name: Configure AWS credentials for S3 build cache
if: ${{ inputs.s3-access-key-id }} != "" && ${{ inputs.s3-secret-key }} != ""
if: ${{ inputs.s3-access-key-id }} != "" && ${{ inputs.s3-secret-access-key }} != ""
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ env.S3_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ env.S3_AWS_SECRET_ACCESS_KEY }}
aws-access-key-id: ${{ inputs.s3-access-key-id }}
aws-secret-access-key: ${{ inputs.s3-secret-access-key}}
aws-region: ${{ env.AWS_REGION }}

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

0 comments on commit 406df30

Please sign in to comment.