This website uses cookies to ensure you get the best experience.
Learn more.
A composite action ships scripts/check.sh in its own repository. A consumer invokes the action after checking out an unrelated application repository. Which base path should the action use to locate its bundled script?
Published
- Use github.workspace/.github/actions/check even when the action comes from a separate repository.
- Always resolve scripts/check.sh relative to the caller GITHUB_WORKSPACE.
- Use runner.temp because every downloaded action is guaranteed to be installed there.
- Use the composite action own github.action_path directory.
Comments — 0
Sign in to comment