Skip to content
This repository has been archived by the owner on Jan 18, 2025. It is now read-only.

Upgrade the AWS CLI version #82

Open
codefromrvk opened this issue Nov 21, 2023 · 1 comment
Open

Upgrade the AWS CLI version #82

codefromrvk opened this issue Nov 21, 2023 · 1 comment

Comments

@codefromrvk
Copy link

codefromrvk commented Nov 21, 2023

Can you upgrade the aws cli version @jakejarvis ?

@codefromrvk codefromrvk changed the title Destination directory not working as expected Upgrade the AWS CLI version Nov 22, 2023
@filtoid
Copy link

filtoid commented Aug 21, 2024

As a workaround you can set the env "AWSCLI_VERSION". I tried it with 1.34.3 and it fixed an issue with the workflow I was using.

eg:

  • uses: jakejarvis/s3-sync-action@master
    with:
    args: --acl public-read --follow-symlinks --delete
    env:
    AWSCLI_VERSION: 1.34.3
    AWS_S3_BUCKET: my_bucket_name
    AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
    AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_KEY }}
    AWS_REGION: 'eu-west-1' # optional: defaults to us-east-1
    SOURCE_DIR: 'public' # optional: defaults to entire repository

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants