Skip to content

Commit 2b21a3d

Browse files
Copilotmazhelez
andauthored
Fix missing AL-Go-Helper.ps1 import in CalculateArtifactNames (#2230)
### ❔What, Why & How PR #2221 refactored `CalculateArtifactNames.ps1` to call `Get-CurrentBranchName` but didn't add the dot-source import of `AL-Go-Helper.ps1` where that function is defined. This breaks the CICD workflow at artifact name calculation. Fix: add the standard import at the top of the script. ```powershell . (Join-Path -Path $PSScriptRoot -ChildPath "../AL-Go-Helper.ps1" -Resolve) ``` ### ✅ Checklist - [ ] Add tests (E2E, unit tests) - [ ] Update RELEASENOTES.md - [ ] Update documentation (e.g. for new settings or scenarios) - [ ] Add telemetry Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: mazhelez <[email protected]>
1 parent 05c7a11 commit 2b21a3d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Actions/CalculateArtifactNames/CalculateArtifactNames.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
[string] $suffix
88
)
99

10+
. (Join-Path -Path $PSScriptRoot -ChildPath "../AL-Go-Helper.ps1" -Resolve)
11+
1012
function Set-OutputVariable([string] $name, [string] $value) {
1113
Write-Host "Assigning $value to $name"
1214
Add-Content -Encoding UTF8 -Path $env:GITHUB_OUTPUT -Value "$name=$value"

0 commit comments

Comments
 (0)