Referencing source repository files
If you have files that reside in a source repository, and you need to refer to these files in one of your workflow actions, complete the following procedure.
Note
See also Referencing files in an artifact.
To reference a file stored in a source repository
-
In the action where you want to reference a file, add code similar to the following:
Actions: My-action: Inputs: Sources: - WorkflowSource Configuration: Steps: - run: cd my-app && cat file1.jar
In the previous code, the action looks in the
my-app
directory in the root of theWorkflowSource
source repository to find and display thefile1.jar
file.