@@ -5868,8 +5868,8 @@ function getArgsFromInput() {
58685868 return key === HelmfileArgs . SELECTORS
58695869 ? ( 0 , core_1 . getInput ) ( HelmfileArgs . SELECTORS )
58705870 . split ( ',' )
5871- . map ( function ( it ) { return "--" + key + "=" + it ; } )
5872- : [ "--" + key + "=" + ( 0 , core_1 . getInput ) ( key ) ] ;
5871+ . map ( function ( it ) { return "--" . concat ( key , "=" ) . concat ( it ) ; } )
5872+ : [ "--" . concat ( key , "=" ) . concat ( ( 0 , core_1 . getInput ) ( key ) ) ] ;
58735873 } )
58745874 . flat ( 1 ) ;
58755875}
@@ -5883,22 +5883,23 @@ var plugins = new Map()
58835883 . set ( 'secrets' , new URL ( 'https://github.com/jkroepke/helm-secrets' ) ) ;
58845884function run ( ) {
58855885 return ( 0 , tslib_1 . __awaiter ) ( this , void 0 , void 0 , function ( ) {
5886- var helmVersion , helmfileVersion , repositoryConfig , helmfileConfig , helmUrl , helmfileUrl , repositoryConfigPath , helmfileConfigPath , pluginUrls , repositoryArgs , _i , pluginUrls_1 , url , globalArgs , _a , _b , error_1 ;
5886+ var helmVersion , helmfileVersion , repositoryConfig , helmfileConfig , helmUrl , helmfileUrl , repositoryConfigPath , helmfileConfigPath , pluginUrls , silent , repositoryArgs , _i , pluginUrls_1 , url , globalArgs , _a , _b , error_1 ;
58875887 return ( 0 , tslib_1 . __generator ) ( this , function ( _c ) {
58885888 switch ( _c . label ) {
58895889 case 0 :
58905890 helmVersion = ( 0 , core_1 . getInput ) ( 'helm-version' ) ;
58915891 helmfileVersion = ( 0 , core_1 . getInput ) ( 'helmfile-version' ) ;
58925892 repositoryConfig = ( 0 , core_1 . getInput ) ( 'repository-config' ) ;
58935893 helmfileConfig = ( 0 , core_1 . getInput ) ( 'helmfile-config' ) ;
5894- helmUrl = "https://get.helm.sh/helm-v" + helmVersion + "-" + platform + "-amd64.tar.gz" ;
5895- helmfileUrl = "https://github.com/roboll/helmfile/releases/download/v" + helmfileVersion + "/helmfile_" + platform + "_amd64" ;
5894+ helmUrl = "https://get.helm.sh/helm-v" . concat ( helmVersion , "-" ) . concat ( platform , "-amd64.tar.gz" ) ;
5895+ helmfileUrl = "https://github.com/roboll/helmfile/releases/download/v" . concat ( helmfileVersion , "/helmfile_" ) . concat ( platform , "_amd64" ) ;
58965896 repositoryConfigPath = ( 0 , path_1 . join ) ( workspaceDir , repositoryConfig ) ;
58975897 helmfileConfigPath = ( 0 , path_1 . join ) ( workspaceDir , helmfileConfig ) ;
58985898 pluginUrls = ( 0 , core_1 . getInput ) ( 'plugins' )
58995899 . split ( ',' )
59005900 . filter ( function ( name ) { return plugins . has ( name ) ; } )
59015901 . map ( function ( name ) { return plugins . get ( name ) ; } ) ;
5902+ silent = Boolean ( ( 0 , core_1 . getInput ) ( 'quiet' ) ) ;
59025903 _c . label = 1 ;
59035904 case 1 :
59045905 _c . trys . push ( [ 1 , 17 , , 18 ] ) ;
@@ -5917,7 +5918,7 @@ function run() {
59175918 case 5 :
59185919 if ( ! ( _i < pluginUrls_1 . length ) ) return [ 3 , 8 ] ;
59195920 url = pluginUrls_1 [ _i ] ;
5920- return [ 4 , ( 0 , exec_1 . exec ) ( 'helm' , [ 'plugin' , 'install' , url . toString ( ) ] ) [ "catch" ] ( core_1 . warning ) ] ;
5921+ return [ 4 , ( 0 , exec_1 . exec ) ( 'helm' , [ 'plugin' , 'install' , url . toString ( ) ] , { silent : silent } ) [ "catch" ] ( core_1 . warning ) ] ;
59215922 case 6 :
59225923 _c . sent ( ) ;
59235924 _c . label = 7 ;
@@ -5928,7 +5929,7 @@ function run() {
59285929 case 9 :
59295930 _c . sent ( ) ;
59305931 if ( ! ( repositoryArgs . length > 0 ) ) return [ 3 , 11 ] ;
5931- return [ 4 , ( 0 , exec_1 . exec ) ( 'helm' , [ 'repo' , 'update' ] . concat ( repositoryArgs ) ) ] ;
5932+ return [ 4 , ( 0 , exec_1 . exec ) ( 'helm' , [ 'repo' , 'update' ] . concat ( repositoryArgs ) , { silent : silent } ) ] ;
59325933 case 10 :
59335934 _c . sent ( ) ;
59345935 _c . label = 11 ;
0 commit comments