From 509b9f7bda21f384008e49ea0d8971bec76e986b Mon Sep 17 00:00:00 2001 From: Gabriel Weyer Date: Mon, 18 Apr 2022 13:28:45 +1000 Subject: [PATCH] Document relative paths rooted against workspace --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a8ef47c..a5f603e 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,7 @@ would be flattened and uploaded as => If multiple paths are provided as input, the least common ancestor of all the search paths will be used as the root directory of the artifact. Exclude paths do not affect the directory structure. -Relative and absolute file paths are both allowed. Relative paths are rooted against the current working directory. Paths that begin with a wildcard character should be quoted to avoid being interpreted as YAML aliases. +Relative and absolute file paths are both allowed. Relative paths are rooted against the workspace. Paths that begin with a wildcard character should be quoted to avoid being interpreted as YAML aliases. The [@actions/artifact](https://github.com/actions/toolkit/tree/main/packages/artifact) package is used internally to handle most of the logic around uploading an artifact. There is extra documentation around upload limitations and behavior in the toolkit repo that is worth checking out.