1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-18 21:35:27 -04:00

New: Bump .NET to 10

This commit is contained in:
Bogdan
2025-09-25 00:42:18 +03:00
committed by Mark McDowall
parent 5f846ab51e
commit 5d655f98f2
48 changed files with 166 additions and 143 deletions
+7 -1
View File
@@ -23,6 +23,12 @@ runs:
- name: Setup .NET
uses: actions/setup-dotnet@v5
- name: Setup NuGet registry source
shell: bash
if: ${{ startsWith(inputs.runtime, 'freebsd') }}
run:
dotnet nuget add source --configfile src/NuGet.Config --name gh-openur https://nuget.pkg.github.com/openur/index.json --username ${{ github.repository_owner }} --password ${{ github.token }} --store-password-in-clear-text
- name: Setup Environment Variables
id: variables
shell: bash
@@ -86,7 +92,7 @@ runs:
echo "Building Sonarr for $runtime, Platform: $platform"
dotnet msbuild -restore $slnFile -p:SelfContained=True -p:Configuration=Release -p:Platform=$platform -p:RuntimeIdentifiers=$runtime -p:EnableWindowsTargeting=true -t:PublishAllRids
dotnet msbuild -restore $slnFile -p:SelfContained=true -p:Configuration=Release -p:Platform=$platform -p:RuntimeIdentifiers=$runtime -p:EnableWindowsTargeting=true -t:PublishAllRids
- name: Package
shell: bash
+1 -1
View File
@@ -3,7 +3,7 @@
outputFolder=_output
artifactsFolder=_artifacts
uiFolder="$outputFolder/UI"
framework="${FRAMEWORK:=net8.0}"
framework="${FRAMEWORK:=net10.0}"
rm -rf $artifactsFolder
mkdir $artifactsFolder