mirror of
https://github.com/codecov/codecov-action.git
synced 2026-04-08 18:05:46 +08:00
* Fix use of safe.directory inside containers
Inside a container the actual workspace path is a mount point and not the same as outside the container.
E.g.:
- `${{github.workspace}} == /home/runner/work/locale/locale`
- `$GITHUB_WORKSPACE == /__w/locale/locale`
So it seems `/home/runner/work` is mounted at `/__w` and this is reflected by the environment variable but not the context.
So use that variable instead.
* Update action.yml
* Update action.yml
* Update action.yml
---------
Co-authored-by: Tom Hu <88201630+thomasrockhu-codecov@users.noreply.github.com>
13 KiB
13 KiB