From 8c49235e60fe1df4dcd02fb7e409ae4958179435 Mon Sep 17 00:00:00 2001 From: Surenthiran Date: Fri, 21 Jun 2024 16:48:39 +0530 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 963a0f347..ae26b5453 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -57,17 +57,16 @@ jobs: - name: Upload server build artifact uses: actions/upload-artifact@v3.1.2 with: - path: ./publish/Server/ + path: ./publish/ name: Server - - name: Publish Windows x64 Agent + - name: Build Windows Installer shell: powershell run: | - dotnet publish ./Agent/ -c Release -r win-x64 --self-contained -o "./Agent/bin/publish/" - Compress-Archive -Path "./Agent/bin/publish/*" -DestinationPath "./Agent/bin/Remotely-Windows-x64.zip" -Force + msbuild ./Agent.Installer.Win/Agent.Installer.Win.csproj /p:Configuration=Release - - name: Upload Windows client build artifact + - name: Upload Installer Artifact uses: actions/upload-artifact@v3.1.2 with: - path: ./Agent/bin/Remotely-Windows-x64.zip - name: Windows-Agent-x64 + path: ./Agent.Installer.Win/bin/Release/ + name: Windows-Agent-Installer