mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
Update Build mR-NB.yml
upd
This commit is contained in:
9
.github/workflows/Build mR-NB.yml
vendored
9
.github/workflows/Build mR-NB.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user