Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusStorhaug committed Aug 15, 2024
1 parent a10356c commit ba9d05c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/loader.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/private/Commands/Initialize-RunnerEnvironment.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ba9d05c

Please sign in to comment.