From a8d5482226899790e91b8dc3e02ac63c81e9d9cd Mon Sep 17 00:00:00 2001 From: Syping Date: Wed, 15 Oct 2025 17:36:23 +0200 Subject: [PATCH] libragephoto: update .NET version to 0.6.1.4 - GitHub Actions: fix Windows .NET build --- .github/workflows/windows-dotnet.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/windows-dotnet.yml b/.github/workflows/windows-dotnet.yml index 34704ea..4ccef61 100644 --- a/.github/workflows/windows-dotnet.yml +++ b/.github/workflows/windows-dotnet.yml @@ -54,17 +54,17 @@ jobs: name: Windows MSVC amd64_arm64 path: assets/amd64_arm64 - name: Copy Assets - shell: bash + shell: pwsh run: | - mkdir -p ${{github.workspace}}/src/dotnet/runtimes/win-arm64/native \ - ${{github.workspace}}/src/dotnet/runtimes/win-x64/native \ - ${{github.workspace}}/src/dotnet/runtimes/win-x86/native - cp ${{github.workspace}}/assets/amd64_arm64/bin/libragephoto.dll \ - ${{github.workspace}}/src/dotnet/runtimes/win-arm64/native/libragephoto.dll - cp ${{github.workspace}}/assets/amd64/bin/libragephoto.dll \ - ${{github.workspace}}/src/dotnet/runtimes/win-x64/native/libragephoto.dll - cp ${{github.workspace}}/assets/amd64_x86/bin/libragephoto.dll \ - ${{github.workspace}}/src/dotnet/runtimes/win-x86/native/libragephoto.dll + mkdir -p ${{github.workspace}}\src\dotnet\runtimes\win-arm64\native \ + ${{github.workspace}}\src\dotnet\runtimes\win-x64\native \ + ${{github.workspace}}\src\dotnet\runtimes\win-x86\native + cp ${{github.workspace}}\assets\amd64_arm64\bin\libragephoto.dll \ + ${{github.workspace}}\src\dotnet\runtimes\win-arm64\native\libragephoto.dll + cp ${{github.workspace}}\assets\amd64\bin\libragephoto.dll \ + ${{github.workspace}}\src\dotnet\runtimes\win-x64\native\libragephoto.dll + cp ${{github.workspace}}\assets\amd64_x86\bin\libragephoto.dll \ + ${{github.workspace}}\src\dotnet\runtimes\win-x86\native\libragephoto.dll - name: Setup MSBuild uses: microsoft/setup-msbuild@v2 - name: Setup .NET @@ -72,10 +72,10 @@ jobs: with: dotnet-version: 8.0.x - name: Build Syping.RagePhoto.Core - run: msbuild src/dotnet/Syping.RagePhoto.Core.csproj /t:pack /p:Configuration=${{env.BUILD_TYPE}} + run: msbuild ${{github.workspace}}\src\dotnet\Syping.RagePhoto.Core.csproj /t:pack /p:Configuration=${{env.BUILD_TYPE}} - name: Upload uses: actions/upload-artifact@v4 with: name: NuGet Package path: | - ${{github.workspace}}/src/dotnet/bin/${{env.BUILD_TYPE}}/Syping.RagePhoto.Core.*.nupkg + ${{github.workspace}}\src\dotnet\bin\${{env.BUILD_TYPE}}\Syping.RagePhoto.Core.*.nupkg