Use jobs.<job_id>.uses to specify the path for a
Reusable workflows job. Call a workflow by setting uses: to the repository path of the reusable workflow YAML file.
|
A single workflow job must contain only one of the following execution syntax terms: |
Reusable workflow job usage example
Here’s the example of a job that uses a reusable workflow to perform a deployment.
|
When referring to a file within a repository, the repository clone URL and the repository-internal path must be separated by a double slash For example: https://github.com/myorg/myrepo//path/to/my/file.yaml However, for backward compatibility the double slash |