Allow automatically get latest gRPC source (#909)

This commit is contained in:
crazywhalecc
2025-12-11 15:51:32 +08:00
parent 88d135a4e5
commit fefcbf4029
3 changed files with 54 additions and 5 deletions

View File

@@ -79,7 +79,7 @@ class ConfigValidator
public const array ARTIFACT_TYPE_FIELDS = [ // [required_fields, optional_fields]
'filelist' => [['url', 'regex'], ['extract']],
'git' => [['url', 'rev'], ['extract', 'submodules']],
'git' => [['url'], ['extract', 'submodules', 'rev', 'regex']],
'ghtagtar' => [['repo'], ['extract', 'prefer-stable', 'match']],
'ghtar' => [['repo'], ['extract', 'prefer-stable', 'match']],
'ghrel' => [['repo', 'match'], ['extract', 'prefer-stable']],