Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using path outside of ./ #77

Open
y-nk opened this issue May 26, 2023 · 0 comments
Open

using path outside of ./ #77

y-nk opened this issue May 26, 2023 · 0 comments

Comments

@y-nk
Copy link

y-nk commented May 26, 2023

I'm having a simple action which does:

- name: Create dummy
  run: |
    mkdir /tmp/foo
    echo "foobar" > /tmp/foo/bar

- name: Upload on S3
  uses: jakejarvis/[email protected]
  with:
    args: --acl public-read --follow-symlinks
    env:
      AWS_S3_BUCKET: ${{ vars.AWS_S3_BUCKET }}
      AWS_ACCESS_KEY_ID: ${{ vars.AWS_ACCESS_KEY_ID }}
      AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
      SOURCE_DIR: /tmp/foo
      DEST_DIR: /baz

and i get an error thrown: "The user-provided path /tmp/foo does not exist".

Could it be related to /tmp not being mounted (since it's a docker action)? Anybody else having this issue? Aside from "use a different path", any other idea for a workaround?

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

No branches or pull requests

1 participant