File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ async function main() {
1818 let actionName = 'AzurePowerShellAction' ;
1919 let userAgentString = ( ! ! userAgentPrefix ? `${ userAgentPrefix } +` : '' ) + `GITHUBACTIONS_${ actionName } _${ usrAgentRepo } ` ;
2020 core . exportVariable ( 'AZURE_HTTP_USER_AGENT' , userAgentString ) ;
21+ core . exportVariable ( 'AZUREPS_HOST_ENVIRONMENT' , userAgentString ) ;
2122
2223 const inlineScript : string = core . getInput ( 'inlineScript' , { required : true } ) ;
2324 azPSVersion = core . getInput ( 'azPSVersion' , { required : true } ) . trim ( ) . toLowerCase ( ) ;
@@ -45,6 +46,7 @@ async function main() {
4546 FileUtils . deleteFile ( ScriptRunner . filePath ) ;
4647 // Reset AZURE_HTTP_USER_AGENT
4748 core . exportVariable ( 'AZURE_HTTP_USER_AGENT' , userAgentPrefix ) ;
49+ core . exportVariable ( 'AZUREPS_HOST_ENVIRONMENT' , userAgentPrefix ) ;
4850 }
4951}
5052
You can’t perform that action at this time.
0 commit comments