From 84591c4c2a73d3dbef6287d6d7246b61cd27839e Mon Sep 17 00:00:00 2001 From: aliakseis Date: Sun, 13 Oct 2024 18:14:43 +0300 Subject: [PATCH] Update msbuild.yml --- .github/workflows/msbuild.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/msbuild.yml b/.github/workflows/msbuild.yml index 288eb23..3dc1539 100644 --- a/.github/workflows/msbuild.yml +++ b/.github/workflows/msbuild.yml @@ -43,24 +43,18 @@ jobs: # See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}} - #- name: Install MSIX Packaging Tool - # run: winget install "MSIX Packaging Tool" - - name: Generate .msix package run: | $MakeAppx_path = Get-ChildItem -Path "C:/Program Files (x86)/Windows Kits/10/bin/*/x64/MakeAppx.exe" | Select-Object -First 1 -ExpandProperty FullName Write-Output "MakeAppx path=$MakeAppx_path" - mkdir -p ./x64/Release/Appx/Assets - cp ./AppxManifest.xml ./x64/Release/Appx/ - cp ./Assets/* ./x64/Release/Appx/Assets/ mkdir -p ./x64/Release/Assets cp ./AppxManifest.xml ./x64/Release/ cp ./Assets/* ./x64/Release/Assets/ - & "$MakeAppx_path" pack /d ./x64/Release /p ./x64/Release/Appx/WellTrajectoryCalculator.msix + & "$MakeAppx_path" pack /d ./x64/Release /p ./WellTrajectoryCalculator.msix shell: pwsh - name: Upload .msix package uses: actions/upload-artifact@v4 with: name: msix-package - path: ./x64/Release/Appx/WellTrajectoryCalculator.msix + path: ./WellTrajectoryCalculator.msix