1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-20 10:37:24 -07:00

Use .NET 6.0 SDK to build and test the NuGet package (#1175)

This commit is contained in:
ektrah 2022-04-30 21:46:56 +02:00 committed by Frank Denis
parent 07f9ab9020
commit 78b6f57493

View File

@ -206,7 +206,7 @@ jobs:
- build-macos-x64 - build-macos-x64
- build-macos-arm64 - build-macos-arm64
container: container:
image: mcr.microsoft.com/dotnet/sdk:5.0 image: mcr.microsoft.com/dotnet/sdk:6.0
env: env:
DOTNET_CLI_TELEMETRY_OPTOUT: 1 DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
@ -259,7 +259,7 @@ jobs:
needs: needs:
- pack - pack
container: container:
image: mcr.microsoft.com/dotnet/sdk:5.0 image: mcr.microsoft.com/dotnet/sdk:6.0
env: env:
DOTNET_CLI_TELEMETRY_OPTOUT: 1 DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
@ -288,9 +288,9 @@ jobs:
- name: Move Build Output - name: Move Build Output
run: | run: |
mkdir .libsodium-builds mkdir .libsodium-builds
mv .libsodium-test/bin/Release/net5.0/linux-arm/publish .libsodium-builds/linux-arm mv .libsodium-test/bin/Release/net6.0/linux-arm/publish .libsodium-builds/linux-arm
mv .libsodium-test/bin/Release/net5.0/linux-arm64/publish .libsodium-builds/linux-arm64 mv .libsodium-test/bin/Release/net6.0/linux-arm64/publish .libsodium-builds/linux-arm64
mv .libsodium-test/bin/Release/net5.0/linux-x64/publish .libsodium-builds/linux-x64 mv .libsodium-test/bin/Release/net6.0/linux-x64/publish .libsodium-builds/linux-x64
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
with: with:
name: test-builds name: test-builds