Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Surenthiran authored Jun 21, 2024
1 parent 19c445d commit 8c49235
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8c49235

Please sign in to comment.