File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,11 +3,16 @@ name: Ubuntu CI
33on :
44 workflow_dispatch :
55 inputs :
6- vcs_repo_file_url :
7- description : URL to vcs repo file to import into colcon workspace
6+ vcs-repo-file-is-relative :
7+ description : If true the vcs-repo-file is a relative path in the github workspace; otherwise it is a URL.
8+ type : bool
9+ required : True
10+ default : True
11+ vcs-repo-file :
12+ description : Relative path or URL to vcs repo file to import into colcon workspace
813 required : true
914 type : string
10- default : " ${{ github.workspace }}/ .github/ci/packages_up_to_sdformat.yaml"
15+ default : " .github/ci/packages_up_to_sdformat.yaml"
1116
1217jobs :
1318 noble-ci :
2328 with :
2429 package-name : sdformat
2530 target-ros2-distro : kilted
26- vcs-repo-file-url : " ${{ inputs.vcs_repo_file_url }} "
31+ vcs-repo-file-url : ${{ inputs.vcs-repo-file-is-relative && format('{0}/', github.workspace) }}${{ inputs.vcs-repo-file }}
2732 colcon-defaults : |
2833 {
2934 "build": {
You can’t perform that action at this time.
0 commit comments