File tree Expand file tree Collapse file tree 3 files changed +11
-0
lines changed
Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 22.env
33target /
44extractors /
5+ db- * /
Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ inputs:
1212 extractor :
1313 description : GitHub Repository where the extractor is located
1414 required : true
15+ language :
16+ description : Language(s) to use
1517 attestation :
1618 description : Attestation
1719 default : ' false'
Original file line number Diff line number Diff line change @@ -31,6 +31,10 @@ pub struct Action {
3131 ) ]
3232 extractor : String ,
3333
34+ /// Language(d) to use
35+ #[ input( description = "Language(s) to use" , split = "," ) ]
36+ language : Vec < String > ,
37+
3438 /// Attestation
3539 #[ input( description = "Attestation" , default = "false" ) ]
3640 attestation : bool ,
@@ -59,6 +63,10 @@ impl Action {
5963 Ok ( Repository :: parse ( & repo) ?)
6064 }
6165
66+ pub fn languages ( & self ) -> Vec < String > {
67+ self . language . clone ( )
68+ }
69+
6270 pub fn attestation ( & self ) -> bool {
6371 self . attestation
6472 }
You can’t perform that action at this time.
0 commit comments