From 66cf93ffddc24b7ca09e79ae3eefd93d641c9662 Mon Sep 17 00:00:00 2001 From: Dimitrij Date: Fri, 8 Aug 2025 01:45:09 +0100 Subject: [PATCH] Update Build mR-NB.yml upd --- .github/workflows/Build mR-NB.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Build mR-NB.yml b/.github/workflows/Build mR-NB.yml index dbf66ea62..98febdc68 100644 --- a/.github/workflows/Build mR-NB.yml +++ b/.github/workflows/Build mR-NB.yml @@ -40,7 +40,14 @@ jobs: shell: pwsh run: msbuild "$Env:GITHUB_WORKSPACE\mRemoteNG.sln" -p:Configuration="Release" -p:Platform=x64 /verbosity:minimal - + - name: 07. Compress Release Output + shell: pwsh + run: | + Add-Type -AssemblyName System.IO.Compression.FileSystem + $source = "${{ github.workspace }}\mRemoteNG\bin\x64\Release\win-x64" + $destination = "${{ github.workspace }}\release-x64.zip" + if (Test-Path $destination) { Remove-Item $destination } + [System.IO.Compression.ZipFile]::CreateFromDirectory($source, $destination) - name: 08. Upload Artifact uses: actions/upload-artifact@v4