-
Notifications
You must be signed in to change notification settings - Fork 63.4k
Description
Code of Conduct
- I have read and agree to the GitHub Docs project's Code of Conduct
What article on docs.github.com is affected?
https://docs.github.com/en/actions/learn-github-actions/variables
What part(s) of the article would you like to see updated?
GITHUB_ACTION_PATH
should mention that the path includes a path if there is one.
Additional information
https://github.com/jsoref/show-action-path/actions/runs/4586308014/jobs/8099062421#step:2:71
GITHUB_ACTION_PATH=/home/runner/work/_actions/jsoref/show-action-path/main
https://github.com/jsoref/show-action-path/actions/runs/4586308014/jobs/8099062371#step:2:71
GITHUB_ACTION_PATH=/home/runner/work/_actions/jsoref/show-action-path/main/test
https://github.com/jsoref/show-action-path/actions/runs/4589129402/jobs/8103813737#step:2:71
GITHUB_ACTION_PATH=/home/runner/work/_actions/jsoref/show-action-path/ambig/uous/test
https://github.com/jsoref/show-action-path/actions/runs/4589129402/jobs/8103813568#step:2:71
GITHUB_ACTION_PATH=/home/runner/work/_actions/jsoref/show-action-path/ambig/uous/test/nested
Note that it isn't possible to distinguish where the end of the reference is from where the path within the repository is.
https://github.com/jsoref/show-action-path/actions/runs/4586308014/jobs/8099062310#step:3:72
GITHUB_ACTION_PATH=/home/runner/work/show-action-path/show-action-path/./
https://github.com/jsoref/show-action-path/actions/runs/4586308014/jobs/8099062475#step:3:72
GITHUB_ACTION_PATH=/home/runner/work/show-action-path/show-action-path/./test
https://github.com/jsoref/show-action-path/actions/runs/4589129402/jobs/8103813842
GITHUB_ACTION_PATH=/home/runner/work/show-action-path/show-action-path/./test/nested