File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -54,14 +54,15 @@ jobs:
5454 for (let i = 0; i < filteredServices.length; i += MAX_BATCH_SIZE) {
5555 result.batches.push(filteredServices.slice(i, i + MAX_BATCH_SIZE))
5656 }
57+ console.log(result)
5758 return result
5859 generate :
5960 uses : googleapis/google-api-java-client-services/.github/workflows/generate.yaml@main
6061 needs : batch
6162 secrets : inherit
6263 # The size of the batch is implicitly decided by the hour of the day.
6364 # For example, a job starting at "1:30" uses the chunk at the index 1 in the array.
64- if : github.event_name != 'workflow_dispatch' && ${{ !!fromJson(needs.batch.outputs.services).batches[fromJson(needs.batch.outputs.services).hour]}}
65+ if : ${{ github.event_name != 'workflow_dispatch' && !!fromJson(needs.batch.outputs.services).batches[fromJson(needs.batch.outputs.services).hour]}}
6566 with :
6667 services : ${{toJson(fromJson(needs.batch.outputs.services).batches[fromJson(needs.batch.outputs.services).hour])}}
6768 generate_dispatch :
You can’t perform that action at this time.
0 commit comments