From 3fbd3fda6403dfb9aed04d6db544d53c84100801 Mon Sep 17 00:00:00 2001 From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com> Date: Thu, 19 Oct 2023 10:36:58 +0530 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d07b4ba..0d5e231 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -51,8 +51,8 @@ jobs: - name: Create zip id: packageBuildResults run: | - $sourceFolder = Join-Path $env:GITHUB_WORKSPACE "out" | - $outFolder = Join-Path $env:GITHUB_WORKSPACE "out" | + $sourceFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "*" + $outFolder = Join-Path $env:GITHUB_WORKSPACE "out" | Join-Path -ChildPath "sourcegrid" New-Item -ItemType Directory -Force -Path $outFolder $fileName = "sourcegrid-5.0.1.zip" Write-Host "Filename: '$fileName'" @@ -61,14 +61,8 @@ jobs: Write-Host "::set-output name=sourcegrid::$($fileName)" $outPath = Join-Path $outFolder $fileName Compress-Archive -DestinationPath $outPath -Path $sourceFolder -CompressionLevel Optimal - - - - name: Sleep for 300 seconds - run: Start-Sleep -s 300 - shell: powershell - - name: Archive Build Output uses: actions/upload-artifact@v2 with: