This commit is contained in:
Freddy Kristiansen 2021-12-08 05:57:45 +01:00 коммит произвёл GitHub
Родитель 6762567717
Коммит 70e11c9e10
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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++