Skip to content

Commit

Permalink
use projectname for artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
freddydk committed Nov 23, 2023
1 parent 4d3e913 commit 2615bb0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Actions/CalculateArtifactNames/CalculateArtifactNames.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ $settings = $env:Settings | ConvertFrom-Json
if ($project -eq ".") {
$project = $settings.repoName
}
elseif ($settings.projectName) {
$project = $settings.projectName
}

$branchName = $ENV:GITHUB_HEAD_REF
# $ENV:GITHUB_HEAD_REF is specified only for pull requests, so if it is not specified, use GITHUB_REF_NAME
Expand Down

0 comments on commit 2615bb0

Please sign in to comment.