Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
prasenjeetnath authored Oct 19, 2023
1 parent cc504a0 commit 3fbd3fd
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'"
Expand All @@ -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:
Expand Down

0 comments on commit 3fbd3fd

Please sign in to comment.