File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -27,16 +27,20 @@ steps:
2727 targetType : inline
2828 pwsh : true
2929 script : |
30- # Starte das PowerShell-Skript direkt wie es in der Composite-Action gemacht wird
3130 $sourceDir = "BuildAccdeExample\source"
3231 $targetDir = "BuildAccdeExample\bin"
3332 $compile = $false
3433 $vcsUrl = "https://api.github.com/repos/josef-poetzl/msaccess-vcs-addin/releases/latest"
3534
36- $scriptPath = Join-Path -Path "$(Build.SourcesDirectory)" -ChildPath "msaccess-vcs-build/ Build.ps1"
35+ $scriptPath = "$(Build.SourcesDirectory)\msaccessVcsBuild\ Build.ps1"
3736 Write-Host "Running script at $scriptPath"
37+
38+ if (-Not (Test-Path $scriptPath)) {
39+ Write-Error "Build.ps1 not found at $scriptPath"
40+ exit 1
41+ }
42+
3843 & $scriptPath -SourceDir $sourceDir -TargetDir $targetDir -Compile $compile -vcsUrl $vcsUrl
39- timeoutInMinutes : 10
4044
4145 - task : PublishBuildArtifacts@1
4246 displayName : ' Upload Build Artifact'
You can’t perform that action at this time.
0 commit comments