Skip to content

Commit a965e2b

Browse files
committed
chore: Use double quotes as default empty value
1 parent 2726f07 commit a965e2b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/dependency_compatibility_test.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
description: 'Comma-separated list of dependencies to test (Format: dep1=1.0,dep2=2.0).
1111
No input (default) will run the the upper-bound dependencies file.'
1212
required: false
13-
default: ' '
13+
default: ""
1414
schedule:
1515
- cron: '0 1 * * *' # Nightly at 1am
1616

@@ -26,7 +26,7 @@ jobs:
2626
java-version: '21'
2727
distribution: 'temurin'
2828
cache: maven
29-
- run: echo "DEPENDENCIES_LIST=${{ github.event.inputs.dependencies-list || ' ' }}" >> "$GITHUB_ENV"
29+
- run: echo 'DEPENDENCIES_LIST=${{ github.event.inputs.dependencies-list || "" }}' >> $GITHUB_ENV
3030
# Set up the for the CI
3131
- name: Install sdk-platform-java's modules
3232
# gapic-generator-java requires Java 8 and is irrelevant for this CI
@@ -36,7 +36,7 @@ jobs:
3636
- name: Perform Dependency Compatibility Testing
3737
shell: bash
3838
run: |
39-
if [[ ${{ env.DEPENDENCIES_LIST }} == ' ' ]]; then
39+
if [[ ${{ env.DEPENDENCIES_LIST }} == "" ]]; then
4040
./.github/scripts/test_dependency_compatibility.sh -f dependencies.txt
4141
else
4242
./.github/scripts/test_dependency_compatibility.sh -l ${{ env.DEPENDENCIES_LIST }}
@@ -58,7 +58,7 @@ jobs:
5858
- name: Perform Dependency Compatibility Testing (Showcase)
5959
shell: bash
6060
run: |
61-
if [[ ${{ env.DEPENDENCIES_LIST }} == ' ' ]]; then
61+
if [[ ${{ env.DEPENDENCIES_LIST }} == "" ]]; then
6262
../.github/scripts/test_dependency_compatibility.sh -f ../dependencies.txt
6363
else
6464
../.github/scripts/test_dependency_compatibility.sh -l ${{ env.DEPENDENCIES_LIST }}

0 commit comments

Comments
 (0)