From ba9d05c2d3631eaedaeb8b4b85408d8517617a9d Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Thu, 15 Aug 2024 15:49:09 +0200 Subject: [PATCH] Fix --- src/loader.ps1 | 2 +- src/private/Commands/Initialize-RunnerEnvironment.ps1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/loader.ps1 b/src/loader.ps1 index 4c3ed56f..4525cc8e 100644 --- a/src/loader.ps1 +++ b/src/loader.ps1 @@ -5,7 +5,7 @@ Write-Verbose "[$scriptFilePath] - Initializing GitHub PowerShell module..." Initialize-Store -Name 'GitHubPowerShell' -SecretVaultName $script:Config.Name -SecretVaultType $script:Config.Type if ($env:GITHUB_ACTIONS -eq 'true') { - Initialize-RunnerEnvironment -Verbose + Initialize-RunnerEnvironment } # Autologon if a token is present in environment variables diff --git a/src/private/Commands/Initialize-RunnerEnvironment.ps1 b/src/private/Commands/Initialize-RunnerEnvironment.ps1 index 01f903dc..5fe36517 100644 --- a/src/private/Commands/Initialize-RunnerEnvironment.ps1 +++ b/src/private/Commands/Initialize-RunnerEnvironment.ps1 @@ -14,7 +14,7 @@ [CmdletBinding()] param () - Write-Verbose 'Detected running on a GitHub Actions runner, preparing environment...' + Write-Warning 'Detected running on a GitHub Actions runner, preparing environment...' $env:GITHUB_REPOSITORY_NAME = $env:GITHUB_REPOSITORY -replace '.+/' Set-GitHubEnv -Name 'GITHUB_REPOSITORY_NAME' -Value $env:GITHUB_REPOSITORY_NAME