-
Notifications
You must be signed in to change notification settings - Fork 83
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
Allow to specify a working-directory #89
Comments
It would be really great to support the default working-directory too: |
First of all, great action! jobs:
test:
name: E2e testing
runs-on: ubuntu-latest
defaults:
run:
shell: bash
working-directory: packages/e2e Supporting this would be great! |
I'm joining this request 🙏 |
I'm joining this request too |
1 similar comment
I'm joining this request too |
Workarounds: - Flaky Python temporary directory removal on Windows <python-poetry/poetry-core#460>. - Mandatory timeout <nick-fields/retry#107>. - Misleading `poetry --directory` functionality <https://github.com/python-poetry/poetry/issues/7363>/Missing option for working directory <nick-fields/retry#89>.
Workarounds: - Flaky Python temporary directory removal on Windows <python-poetry/poetry-core#460>. - Mandatory timeout <nick-fields/retry#107>. - Misleading `poetry --directory` functionality <https://github.com/python-poetry/poetry/issues/7363>/Missing option for working directory <nick-fields/retry#89>.
Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
* Retry on dashboard-e2e nightly Signed-off-by: Aaron Chong <aaronchongth@gmail.com> * Retry on general dashboard-e2e workflow Signed-off-by: Aaron Chong <aaronchongth@gmail.com> * Setting required timeout_minutes to 20, removing optional retry_on Signed-off-by: Aaron Chong <aaronchongth@gmail.com> * Adding working-directory on step due to nick-fields/retry#89 Signed-off-by: Aaron Chong <aaronchongth@gmail.com> --------- Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
Love this action, but would love it more if |
Less than ideal, but it is possible to make it work in a folder by using a multi-line command and use
|
@zburgermeiszter A simpler way to do this would be:
|
Good shout @dbudwin |
Describe the bug
My workflow expects the script to be executed from a specific directory, so I use something like this:
When porting this to retry, I cannot set the
working-directory
for the step, as it only works withrun
.Similar issue: https://stackoverflow.com/questions/67299058/running-github-actions-for-uses-in-another-directory
Expected behavior
Retry should allow to specify a
working-directory
Screenshots
If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered: