File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed
Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -32,10 +32,12 @@ jobs:
3232
3333 # Run in the root module which should test for everything barring showcase
3434 - name : Perform Dependency Compatibility Testing
35- # Unless specifically inputted by the user, the `-l` argument will be empty
36- # and the workflow will run with the default upper-bounds dependencies file
37- run : ./.github/scripts/test_dependency_compatibility.sh -f dependencies.txt -l ${{ github.event.inputs.dependencies-list }}
38-
35+ run : |
36+ if [ -z ${{ github.event.inputs.dependencies-list }} ]
37+ ./.github/scripts/test_dependency_compatibility.sh -f dependencies.txt
38+ else
39+ ./.github/scripts/test_dependency_compatibility.sh -l ${{ github.event.inputs.dependencies-list }}
40+ fi
3941 # Set up local showcase server
4042 - name : Parse showcase version
4143 working-directory : java-showcase/gapic-showcase
5153 cd -
5254 # Run for the Showcase tests
5355 - name : Perform Dependency Compatibility Testing (Showcase)
54- # Unless specifically inputted by the user, the `-l` argument will be empty
55- # and the workflow will run with the default upper-bounds dependencies file
56- run : ../.github/scripts/test_dependency_compatibility.sh -f ../dependencies.txt -l ${{ github.event.inputs.dependencies-list }}
56+ run : |
57+ if [ -z ${{ github.event.inputs.dependencies-list }} ]
58+ ../.github/scripts/test_dependency_compatibility.sh -f ../dependencies.txt
59+ else
60+ ../.github/scripts/test_dependency_compatibility.sh -l ${{ github.event.inputs.dependencies-list }}
61+ fi
5762 working-directory : java-showcase
You can’t perform that action at this time.
0 commit comments