File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 10
10
description : ' Comma-separated list of dependencies to test (Format: dep1=1.0,dep2=2.0).
11
11
No input (default) will run the the upper-bound dependencies file.'
12
12
required : false
13
- default : " "
13
+ default : ' '
14
14
schedule :
15
15
- cron : ' 0 1 * * *' # Nightly at 1am
16
16
26
26
java-version : ' 21'
27
27
distribution : ' temurin'
28
28
cache : maven
29
- - run : echo 'DEPENDENCIES_LIST=${{ github.event.inputs.dependencies-list || "" }}' >> $GITHUB_ENV
29
+ - name : Determine Inputted Dependencies List
30
+ if : ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.dependencies-list != '' }}
31
+ run : echo "DEPENDENCIES_LIST=${{ github.event.inputs.dependencies-list }}" >> $GITHUB_ENV
30
32
# Set up the for the CI
31
33
- name : Install sdk-platform-java's modules
32
34
# gapic-generator-java requires Java 8 and is irrelevant for this CI
36
38
- name : Perform Dependency Compatibility Testing
37
39
shell : bash
38
40
run : |
39
- if [[ ${{ env.DEPENDENCIES_LIST }} == "" ]]; then
41
+ if [[ ${{ env.DEPENDENCIES_LIST }} == '' ]]; then
40
42
./.github/scripts/test_dependency_compatibility.sh -f dependencies.txt
41
43
else
42
44
./.github/scripts/test_dependency_compatibility.sh -l ${{ env.DEPENDENCIES_LIST }}
58
60
- name : Perform Dependency Compatibility Testing (Showcase)
59
61
shell : bash
60
62
run : |
61
- if [[ ${{ env.DEPENDENCIES_LIST }} == "" ]]; then
63
+ if [[ ${{ env.DEPENDENCIES_LIST }} == '' ]]; then
62
64
../.github/scripts/test_dependency_compatibility.sh -f ../dependencies.txt
63
65
else
64
66
../.github/scripts/test_dependency_compatibility.sh -l ${{ env.DEPENDENCIES_LIST }}
You can’t perform that action at this time.
0 commit comments