CI: Setup dotnet SDK before running automatic build
Some checks failed
/ build (push) Failing after 1m32s

This commit is contained in:
Konstantin Hintermayer
2025-05-14 21:56:48 +02:00
committed by KoCoder
parent d967449889
commit 75eb0f199a
3 changed files with 30 additions and 5 deletions

View File

@ -1,5 +1,9 @@
TargetFramework=$1
ProjectName=$2
"..\..\oqtane.framework\oqtane.package\nuget.exe" pack %ProjectName%.nuspec -Properties targetframework=%TargetFramework%;projectname=%ProjectName%
chmod +x ../../oqtane.framework/Oqtane.Package/nuget.exe
# "../../oqtane.framework/Oqtane.Package/nuget.exe" pack %ProjectName%.nuspec -Properties targetframework=%TargetFramework%;projectname=%ProjectName%
# https://learn.microsoft.com/en-us/nuget/reference/dotnet-commands
dotnet pack %ProjectName%.nuspec -Properties targetframework=%TargetFramework%;projectname=%ProjectName%
cp -f "*.nupkg" "..\..\oqtane.framework\Oqtane.Server\Packages\"