зеркало из https://github.com/microsoft/AL-Go.git
Update Test-AL-Go.ps1
This commit is contained in:
Родитель
6762567717
Коммит
70e11c9e10
|
@ -229,13 +229,13 @@ try {
|
|||
$runs++
|
||||
Pull -branch $branch
|
||||
if (Test-Path "$($project1Folder).AL-Go\*.ps1") { throw "Local PowerShell scripts in the .AL-Go folder should have been removed" }
|
||||
if (Test-Path ".gitub\workflows\CreateRelease.yaml") { throw "CreateRelease.yaml should have been removed" }
|
||||
if (Test-Path ".github\workflows\CreateRelease.yaml") { throw "CreateRelease.yaml should have been removed" }
|
||||
$run = Run-CICD -wait -branch $branch
|
||||
$runs++
|
||||
Test-ArtifactsFromRun -runid $run.id -expectedNumberOfApps 3 -expectedNumberOfTestApps 2 -expectedNumberOfTests 2 -folder 'artifacts3' -repoVersion '3.0.' -appVersion '3.0'
|
||||
|
||||
# Update AL-Go System Files
|
||||
$repoSettings = Get-Content ".gitub\AL-Go-Settings.json" -Encoding UTF8 | ConvertFrom-Json
|
||||
$repoSettings = Get-Content ".github\AL-Go-Settings.json" -Encoding UTF8 | ConvertFrom-Json
|
||||
SetRepositorySecret -name 'GHTOKENWORKFLOW' -value (ConvertTo-SecureString -String $token -AsPlainText -Force)
|
||||
Run-UpdateAlGoSystemFiles -templateUrl $repoSettings.templateUrl -wait -branch $branch | Out-Null
|
||||
$runs++
|
||||
|
|
Загрузка…
Ссылка в новой задаче