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

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant