From d6811aa9c53104ac989e86c30db1455a33ff7f57 Mon Sep 17 00:00:00 2001 From: Arthur Thomas Date: Sun, 1 Dec 2024 09:19:16 -0500 Subject: [PATCH] Bump Avalonia and Fluent AvaloniaUI Versions (#103) [skip ci] * Update Avalonia and FluentAvaloniaUI package versions, this contains a fix that was breaking the command flyout commands, like copy, paste, and select all etc Updated Desktop.csproj to use Avalonia.Desktop 11.2.2. Updated KeyVaultExplorer.csproj: - Avalonia.Diagnostics (Debug) to 11.2.2 - Avalonia.Svg.Skia to 11.2.0.2 - FluentAvaloniaUI to 2.2.0 * add arm build --- .github/workflows/dotnet.yml | 30 ++++++++++++++++++++++++ Desktop/Desktop.csproj | 2 +- KeyVaultExplorer/KeyVaultExplorer.csproj | 6 ++--- 3 files changed, 34 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index e3e1068..2345e82 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -39,6 +39,36 @@ jobs: with: name: keyvaultexplorer.win-x64 path: keyvaultexplorer.win-x64.tar + build_windows_arm: + name: Build Windows ARM + runs-on: windows-latest + steps: + - uses: actions/checkout@v4 + - name: Setup .NET + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 9.0.x + - uses: actions/cache@v3 + with: + path: ~/.nuget/win-packages + # Look to see if there is a cache hit for the corresponding requirements file + key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }} + restore-keys: | + winarm-nuget + - name: Publish Windows + run: | + ./build.ps1 -Runtime win-arm64 -PublishAot -BuildNumber '1.0.${{github.run_number }}' + New-Item -ItemType Directory -Path "win-arm64" + Move-Item -Path ".\publish" -Destination "$env:GITHUB_WORKSPACE\win-arm64\publish" + gci -path "$env:GITHUB_WORKSPACE\win-arm64\publish" + shell: pwsh + - name: Create Package + run: tar -cvf keyvaultexplorer.win-arm64.tar win-arm64 + - name: Upload Artifact + uses: actions/upload-artifact@v4 + with: + name: keyvaultexplorer.win-arm64 + path: keyvaultexplorer.win-arm64.tar build_macos_intel: name: Build macOS intel runs-on: macos-12 diff --git a/Desktop/Desktop.csproj b/Desktop/Desktop.csproj index fc9bf3b..c51bf6f 100644 --- a/Desktop/Desktop.csproj +++ b/Desktop/Desktop.csproj @@ -44,7 +44,7 @@ - + diff --git a/KeyVaultExplorer/KeyVaultExplorer.csproj b/KeyVaultExplorer/KeyVaultExplorer.csproj index ba8268f..2a3b265 100644 --- a/KeyVaultExplorer/KeyVaultExplorer.csproj +++ b/KeyVaultExplorer/KeyVaultExplorer.csproj @@ -54,10 +54,10 @@ - - + + - +