@@ -74,7 +74,6 @@ function getInput(name, options) {
74
74
if ( options && options . required && ! val ) {
75
75
throw new Error ( `Input required and not supplied: ${ name } ` ) ;
76
76
}
77
- core . debug ( `param: ${ name } = "${ val } "` )
78
77
return val
79
78
}
80
79
@@ -94,6 +93,15 @@ async function run() {
94
93
const task = getInput ( "task" ) ;
95
94
const version = getInput ( "version" ) ;
96
95
96
+ core . debug ( `param: track = "${ track } "` )
97
+ core . debug ( `param: release = "${ release } "` )
98
+ core . debug ( `param: namespace = "${ namespace } "` )
99
+ core . debug ( `param: chart = "${ chart } "` )
100
+ core . debug ( `param: values = "${ values } "` )
101
+ core . debug ( `param: dryRun = "${ dryRun } "` )
102
+ core . debug ( `param: task = "${ task } "` )
103
+ core . debug ( `param: version = "${ version } "` )
104
+
97
105
// Setup command options and arguments.
98
106
const opts = { env : { } } ;
99
107
const args = [
@@ -123,7 +131,9 @@ async function run() {
123
131
124
132
// Actually execute the deployment here.
125
133
if ( task === "remove" ) {
126
- await exec . exec ( "helm" , [ "delete" , release , "--purge" ] , opts ) ;
134
+ await exec . exec ( "helm" , [ "delete" , release , "--purge" ] , {
135
+ ...opts , ignoreReturnCode : true ,
136
+ } ) ;
127
137
} else {
128
138
await exec . exec ( "helm" , args , opts ) ;
129
139
}
0 commit comments