File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4040 /d:sonar.host.url="$env:SONAR_HOST_URL" `
4141 /d:sonar.token="$env:SONAR_TOKEN"
4242
43+ - name : Copy UCNL libs into project workspace
44+ shell : powershell
45+ run : |
46+ # RUNNER_WORKSPACE = C:\actions-runner\_work\AzimuthConsole
47+ $projectWS = $env:RUNNER_WORKSPACE
48+ $rootWS = Split-Path $projectWS -Parent # C:\actions-runner\_work
49+
50+ $src = Join-Path $rootWS 'UCNLLibs'
51+ $dst = Join-Path $projectWS 'UCNLLibs'
52+
53+ Write-Host "Source : $src"
54+ Write-Host "Destination : $dst"
55+
56+ if (-not (Test-Path $src)) {
57+ Write-Error "UCNLLibs folder not found at $src"
58+ exit 1
59+ }
60+
61+ New-Item -ItemType Directory -Path $dst -Force | Out-Null
62+ Copy-Item -Path "$src\*" -Destination $dst -Recurse -Force
63+
64+ Write-Host "Copied UCNL libs:"
65+ Get-ChildItem $dst
66+
67+
68+
4369 - name : Build AzimuthConsole
4470 shell : powershell
4571 working-directory : src
You can’t perform that action at this time.
0 commit comments