jakejarvis/s3-sync-action

Doesn't seem to Support MacOS

Opened this issue · 1 comments

This doesn't seem to support MacOS, the runner retuns:

Run jakejarvis/s3-sync-action@master
  with:
    args: --acl public-read --delete
  env:
    ImageOS: macos1015
    AWS_S3_BUCKET: 
    AWS_ACCESS_KEY_ID: ***
    AWS_SECRET_ACCESS_KEY: ***
    AWS_REGION: ***
    SOURCE_DIR: ./Home/Android/Releases/

Error: Container action is only supported on Linux

macOS workers include AWS-CLI, so uploading can be performed with a raw command like this:

- name: Upload
  run: AWS_ACCESS_KEY_ID=${{secrets.S3_KEY}} AWS_SECRET_ACCESS_KEY=${{secrets.S3_SECRET_KEY}} aws s3 sync . s3://<bucket-name>/ --acl public-read --no-progress
  working-directory: <directory-to-sync>