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

Doesn't seem to Support MacOS #54

Open
zackrspv opened this issue Feb 24, 2021 · 1 comment
Open

Doesn't seem to Support MacOS #54

zackrspv opened this issue Feb 24, 2021 · 1 comment

Comments

@zackrspv
Copy link

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

@okalachev
Copy link

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>

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