http://wmj5kiicroak3dvoelipkcqobw7kwtltbqnmuv576l6x4b56b6dvmdad.onion/help/ci/variables/where_variables_can_be_used.md
What's also important, is that the expansion is done only once, so nested variables may or may not work, depending on the ordering of variables definitions, and whether nested variable expansion is enabled in GitLab. For artifacts and cache uploads, the runner uses mvdan.cc/sh/v3/expand for variable expansion instead of Go's os.Expand() because mvdan.cc/sh/v3/expand supports parameter expansion .