Closed antho-girard closed 3 years ago
Will changing working directory for the whole action work for your use case?
jobs:
phpunit:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./app
It did seem to work :/
So I ended up keeping the default working directory and using another workflow with personal access token.
Thanks for help
Well, I think this does not work - working-directory
is not applicable to custom actions.
Hi,
The
actions/checkout
action allows specifying a relative path.But, by doing so the rebase fails and we get this error :
fatal: not a git repository (or any parent up to mount point /github)
Is there a workaround? (I tried to add a step
cd some/custom/path
before rebasing but I got the same error)Here is the workflow file :
Thanks!