libragephoto: update .NET version to 0.6.1.4
- GitHub Actions: fix Windows .NET build
This commit is contained in:
parent
f98bed97df
commit
a8d5482226
1 changed files with 12 additions and 12 deletions
24
.github/workflows/windows-dotnet.yml
vendored
24
.github/workflows/windows-dotnet.yml
vendored
|
@ -54,17 +54,17 @@ jobs:
|
||||||
name: Windows MSVC amd64_arm64
|
name: Windows MSVC amd64_arm64
|
||||||
path: assets/amd64_arm64
|
path: assets/amd64_arm64
|
||||||
- name: Copy Assets
|
- name: Copy Assets
|
||||||
shell: bash
|
shell: pwsh
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ${{github.workspace}}/src/dotnet/runtimes/win-arm64/native \
|
mkdir -p ${{github.workspace}}\src\dotnet\runtimes\win-arm64\native \
|
||||||
${{github.workspace}}/src/dotnet/runtimes/win-x64/native \
|
${{github.workspace}}\src\dotnet\runtimes\win-x64\native \
|
||||||
${{github.workspace}}/src/dotnet/runtimes/win-x86/native
|
${{github.workspace}}\src\dotnet\runtimes\win-x86\native
|
||||||
cp ${{github.workspace}}/assets/amd64_arm64/bin/libragephoto.dll \
|
cp ${{github.workspace}}\assets\amd64_arm64\bin\libragephoto.dll \
|
||||||
${{github.workspace}}/src/dotnet/runtimes/win-arm64/native/libragephoto.dll
|
${{github.workspace}}\src\dotnet\runtimes\win-arm64\native\libragephoto.dll
|
||||||
cp ${{github.workspace}}/assets/amd64/bin/libragephoto.dll \
|
cp ${{github.workspace}}\assets\amd64\bin\libragephoto.dll \
|
||||||
${{github.workspace}}/src/dotnet/runtimes/win-x64/native/libragephoto.dll
|
${{github.workspace}}\src\dotnet\runtimes\win-x64\native\libragephoto.dll
|
||||||
cp ${{github.workspace}}/assets/amd64_x86/bin/libragephoto.dll \
|
cp ${{github.workspace}}\assets\amd64_x86\bin\libragephoto.dll \
|
||||||
${{github.workspace}}/src/dotnet/runtimes/win-x86/native/libragephoto.dll
|
${{github.workspace}}\src\dotnet\runtimes\win-x86\native\libragephoto.dll
|
||||||
- name: Setup MSBuild
|
- name: Setup MSBuild
|
||||||
uses: microsoft/setup-msbuild@v2
|
uses: microsoft/setup-msbuild@v2
|
||||||
- name: Setup .NET
|
- name: Setup .NET
|
||||||
|
@ -72,10 +72,10 @@ jobs:
|
||||||
with:
|
with:
|
||||||
dotnet-version: 8.0.x
|
dotnet-version: 8.0.x
|
||||||
- name: Build Syping.RagePhoto.Core
|
- 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
|
- name: Upload
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: NuGet Package
|
name: NuGet Package
|
||||||
path: |
|
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue