You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 13, 2022. It is now read-only.
I do not mean to shame people who like monorepos, but I have found that this action might not work for them without some additional configuration. The following will fail:
because it still looks for a yarn.lock in the root. Perhaps in addition to looking at its own config, this action could look at defaults.run.working-directory here?
The issue is that - uses: my/action@v1 will not run in the working-directory specified by the defaults ... the docs clearly say the working dir only applies for - run:.
I agree that this is confusing, but it can be equally confusing to use a run default when it is not intended that way. Since monorepo support is solved and documented in the readme, I'm happy with the current state.
Closing for now, feel free to ping this issue if there's a default we can use in the future.
I do not mean to shame people who like monorepos, but I have found that this action might not work for them without some additional configuration. The following will fail:
because it still looks for a yarn.lock in the root. Perhaps in addition to looking at its own config, this action could look at
defaults.run.working-directory
here?gha-yarn-cache/src/restore.js
Line 46 in b34096d
As a stopgap, the user can work around by specifying the working directory twice.
The text was updated successfully, but these errors were encountered: