1 Commits

Author SHA1 Message Date
465222166f CI: Setup dotnet SDK before running automatic build
Some checks failed
/ build (push) Failing after 1m28s
2025-05-17 15:02:23 +02:00
2 changed files with 5 additions and 5 deletions

View File

@ -27,11 +27,11 @@ jobs:
uses: https://github.com/actions/setup-dotnet@v4
with:
dotnet-version: '9.x'
- name: Setup NuGet
uses: https://github.com/nuget/setup-nuget@v2
with:
# - name: Setup NuGet
# uses: https://github.com/nuget/setup-nuget@v2
# with:
# nuget-api-key: ${{ secrets.NuGetAPIKey }}
nuget-version: '5.x'
# nuget-version: '5.x'
- name: Build Oqtane
run: dotnet build ./oqtane.framework/Oqtane.sln --configuration Debug
- name: Build Module

View File

@ -3,6 +3,6 @@ ProjectName=$2
chmod +x ../../oqtane.framework/Oqtane.Package/nuget.exe
# "../../oqtane.framework/Oqtane.Package/nuget.exe" pack %ProjectName%.nuspec -Properties targetframework=%TargetFramework%;projectname=%ProjectName%
nuget pack %ProjectName%.nuspec -Properties targetframework=%TargetFramework%;projectname=%ProjectName%
detnet nuget pack %ProjectName%.nuspec -Properties targetframework=%TargetFramework%;projectname=%ProjectName%
cp -f "*.nupkg" "..\..\oqtane.framework\Oqtane.Server\Packages\"