From 7a2361a67f1b05d70956971e277da2b4cc5e53fd Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 12 Aug 2026 22:43:44 +0000 Subject: [PATCH 1/2] Initial plan From 00ba183a7d3e2a4836f62db8d187c71725e664b9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 12 Aug 2026 22:47:04 +0000 Subject: [PATCH 2/2] Fix package workflow publishing Co-authored-by: stephenmann <11894942+stephenmann@users.noreply.github.com> --- .github/workflows/build.yml | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 73992e4..1c7a65d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -58,11 +58,8 @@ jobs: with: global-json-file: global.json - - name: Publish agent - run: > - dotnet publish src/HaActiveUser.Agent/HaActiveUser.Agent.csproj - -c Release -r win-x64 --self-contained false - -p:PublishSingleFile=true -p:DebugType=None + - name: Publish agents + run: pwsh ./build/publish-agent.ps1 -SkipInstaller - name: Azure login if: env.SIGNING_ENABLED == 'true' @@ -72,7 +69,7 @@ jobs: tenant-id: ${{ secrets.AZURE_TENANT_ID }} subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }} - # Signed before the MSI is built so the packaged copy carries the signature. + # Signed before the MSI is built so the packaged copies carry the signatures. - name: Sign agent if: env.SIGNING_ENABLED == 'true' uses: azure/artifact-signing-action@208f8af4bf26cf2af8597424e3cb5582801523ba # v2.0.0 @@ -87,6 +84,18 @@ jobs: timestamp-rfc3161: http://timestamp.acs.microsoft.com timestamp-digest: SHA256 + - name: Sign session agent + if: env.SIGNING_ENABLED == 'true' + uses: azure/artifact-signing-action@208f8af4bf26cf2af8597424e3cb5582801523ba # v2.0.0 + with: + endpoint: ${{ vars.AZURE_SIGNING_ENDPOINT }} + signing-account-name: ${{ vars.AZURE_SIGNING_ACCOUNT }} + certificate-profile-name: ${{ vars.AZURE_SIGNING_PROFILE }} + files: ${{ github.workspace }}\src\HaActiveUser.SessionAgent\bin\Release\net8.0-windows\win-x64\publish\HaActiveUser.SessionAgent.exe + file-digest: SHA256 + timestamp-rfc3161: http://timestamp.acs.microsoft.com + timestamp-digest: SHA256 + - name: Build MSI run: dotnet build installer/HaActiveUser.Installer.wixproj -c Release