Skip to content

Commit 3a8915a

Browse files
🩹 [Patch]: Add assignment for GITHUB_REPOSITORY_NAME environment variable
1 parent 8af3071 commit 3a8915a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎scripts/main.ps1‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ Set-GitHubLogGroup "Loading helper scripts from [$path]" {
2525
}
2626
}
2727

28+
$env:GITHUB_REPOSITORY_NAME = $env:GITHUB_REPOSITORY -replace '.+/'
29+
2830
Set-GitHubLogGroup 'Loading inputs' {
2931
$name = if ([string]::IsNullOrEmpty($env:PSMODULE_PUBLISH_PSMODULE_INPUT_Name)) {
3032
$env:GITHUB_REPOSITORY_NAME

0 commit comments

Comments
 (0)