From 799b48d1b6f2f50de2c3918d9ec1665731e7b25c Mon Sep 17 00:00:00 2001 From: Archi Date: Fri, 17 Dec 2021 14:09:25 +0100 Subject: [PATCH] Revert "CI: Attemp to solve OOM on Windows" This reverts commit 6444167ae4fecd155b1b8b13d53434e9d7c26e03. --- .github/workflows/publish.yml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c70d4a693..8e1727cbe 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -325,18 +325,9 @@ jobs: foreach ($variant in $env:VARIANTS.Split([char[]] $null, [System.StringSplitOptions]::RemoveEmptyEntries)) { Start-Job -Name "$variant" $PublishBlock -ArgumentList "$variant" - - # Limit active jobs in parallel to help with memory usage - $jobs = $(Get-Job -State Running) - - while ($jobs.Count -ge 5) { - Wait-Job -Job $jobs -Any | Out-Null - - $jobs = $(Get-Job -State Running) - } } - Get-Job | Receive-Job -Wait -AutoRemoveJob + Get-Job | Receive-Job -Wait - name: Upload ASF-generic continue-on-error: true