Skip to content

Commit 4c7ad0d

Browse files
committed
chore: Fix CI issue
1 parent eed455d commit 4c7ad0d

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/downstream_protobuf_source_compatibility_check_nightly.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ on:
55
workflow_dispatch:
66
inputs:
77
protobuf_versions:
8-
description: 'Comma separated list of Protobuf-Java versions (i.e. 3.25.5, 4.29.0)'
9-
default: '["3.25.5","4.28.3"]'
8+
description: 'Comma separated list of Protobuf-Java versions (i.e. 3.25.5, 4.28.3)'
9+
default: '"3.25.5","4.28.3"'
1010
required: false
1111
pull_request:
1212
schedule:
@@ -34,7 +34,11 @@ jobs:
3434
- java-spanner
3535
- java-storage
3636
- java-storage-nio
37-
protobuf-version: ${{ fromJSON(github.event.inputs.protobuf_versions) }}
37+
# Specify the Protobuf versions here as well because the default values above are only supplied from
38+
# workflow_dispatch flow. The nightly workflow doesn't have a default input otherwise. The default
39+
# values above provide an example of the expected format in the UI. When updating, update both sections
40+
# to provide a proper default.
41+
protobuf-version: ${{ fromJSON(format('[{0}]', inputs.protobuf_versions || '"3.25.5","4.28.3"')) }}
3842
steps:
3943
- uses: actions/checkout@v3
4044
- uses: actions/setup-java@v3

0 commit comments

Comments
 (0)