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:
32
32
33
33
# Run in the root module which should test for everything barring showcase
34
34
- 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
39
41
# Set up local showcase server
40
42
- name : Parse showcase version
41
43
working-directory : java-showcase/gapic-showcase
51
53
cd -
52
54
# Run for the Showcase tests
53
55
- 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
57
62
working-directory : java-showcase
You can’t perform that action at this time.
0 commit comments